Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000781/0.0007809, allocations: 96.12 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2097, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01151/0.2213, allocations: 14.68 MB / 391.3 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.2299, allocations: 6.627 MB / 397.9 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.2322, allocations: 87.62 kB / 398 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.2347, allocations: 1.089 MB / 399.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.238, allocations: 1.807 MB / 400.9 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2397, allocations: 1.339 MB / 402.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.2439, allocations: 5.309 MB / 407.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.2466, allocations: 3.156 MB / 410.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.2482, allocations: 1.63 MB / 412.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.25, allocations: 2.115 MB / 414.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.2504, allocations: 259.9 kB / 414.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2515, allocations: 475.8 kB / 415.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.2521, allocations: 0.9883 MB / 416.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.2538, allocations: 2.178 MB / 418.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.2589, allocations: 7.56 MB / 425.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2589, allocations: 0 / 425.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2589, allocations: 0 / 425.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001543/0.2591, allocations: 3.938 kB / 425.9 MB, free: 14.46 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01058/0.2696, allocations: 4.555 MB / 430.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2697, allocations: 16.03 kB / 430.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/0.2747, allocations: 0.9986 MB / 431.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.2798, allocations: 2.703 MB / 434.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.2801, allocations: 312.2 kB / 434.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006191/0.2807, allocations: 396 kB / 434.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008705/0.2894, allocations: 5.197 MB / 440.1 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.879e-05/0.2895, allocations: 7.906 kB / 440.1 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.2899, allocations: 164.1 kB / 440.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.29, allocations: 172 kB / 440.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007699/0.2977, allocations: 4.447 MB / 444.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.3225, allocations: 16.94 MB / 461.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.329, allocations: 8.424 MB / 470.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.3317, allocations: 1.725 MB / 471.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007698/0.3394, allocations: 5.009 MB / 476.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.3395, allocations: 51.88 kB / 477 MB, free: 9.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=156): time 2.795e-06/0.3395, allocations: 0 / 477 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=159): time 0.01119/0.3507, allocations: 6.189 MB / 483.2 MB, free: 3.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3507, allocations: 72.72 kB / 483.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.3538, allocations: 2.298 MB / 485.5 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/0.3539, allocations: 49.7 kB / 485.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.355, allocations: 1.848 MB / 487.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/0.3554, allocations: 0.543 MB / 488 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.3555, allocations: 48 kB / 488 MB, free: 14.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3557, allocations: 386.2 kB / 488.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.357, allocations: 0.8514 MB / 489.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.3588, allocations: 1.579 MB / 490.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.362, allocations: 2.579 MB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.362, allocations: 11.94 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004483/0.3665, allocations: 2.903 MB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3666, allocations: 19.94 kB / 496.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.3666, allocations: 24 kB / 496.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.3669, allocations: 125.7 kB / 496.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.3688, allocations: 0.5503 MB / 497.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3704, allocations: 1.826 MB / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.3721, allocations: 119.8 kB / 499 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3722, allocations: 92 kB / 499.1 MB, free: 2.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002155/0.3744, allocations: 1.2 MB / 0.4886 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.3748, allocations: 245 kB / 0.4888 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1711/0.5459, allocations: 2.46 MB / 0.4912 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.546, allocations: 23.41 kB / 0.4912 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.546, allocations: 7.641 kB / 0.4912 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.546, allocations: 7.312 kB / 0.4912 GB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008865/0.5549, allocations: 5.82 MB / 0.4969 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.5549, allocations: 0 / 0.4969 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.5561, allocations: 301.6 kB / 0.4972 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007709/0.5569, allocations: 321.5 kB / 0.4975 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.324e-05/0.557, allocations: 40.17 kB / 0.4975 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/0.562, allocations: 6.381 MB / 0.5038 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.562, allocations: 7.375 kB / 0.5038 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/0.5667, allocations: 3.597 MB / 0.5073 GB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.5676, allocations: 0.4942 MB / 0.5078 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.5679, allocations: 37.58 kB / 0.5078 GB, free: 95.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5689, allocations: 95.11 kB / 0.5079 GB, free: 95.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.5692, allocations: 120.4 kB / 0.508 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/0.5693, allocations: 50.05 kB / 0.5081 GB, free: 95.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001883/0.5712, allocations: 1.55 MB / 0.5096 GB, free: 95.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5712, allocations: 0 / 0.5096 GB, free: 95.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001892/0.5731, allocations: 0.6705 MB / 0.5102 GB, free: 94.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000291/0.5734, allocations: 179.7 kB / 0.5104 GB, free: 94.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.5763, allocations: 2.286 MB / 0.5126 GB, free: 93.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5763, allocations: 0 / 0.5126 GB, free: 93.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.578, allocations: 1.461 MB / 0.5141 GB, free: 91.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.581, allocations: 0.565 MB / 0.5146 GB, free: 91.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5913, allocations: 8.783 MB / 0.5232 GB, free: 82.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.593, allocations: 2.653 MB / 0.5258 GB, free: 79.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.5949, allocations: 0.5552 MB / 0.5263 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.5953, allocations: 163.4 kB / 0.5265 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5953, allocations: 0 / 0.5265 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.04608/0.6414, allocations: 30.85 MB / 0.5566 GB, free: 48.26 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches