Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 178.3 kB / 17.36 MB, free: 4.324 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.376/1.376, allocations: 205.6 MB / 223.7 MB, free: 8.949 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.0007875/0.0007876, allocations: 90.41 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 47.59 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01882/0.2648, allocations: 21.82 MB / 398.5 MB, free: 26.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2793, allocations: 9.058 MB / 407.5 MB, free: 17.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005126/0.2845, allocations: 147.5 kB / 407.7 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.2894, allocations: 1.799 MB / 409.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009013/0.2984, allocations: 3.663 MB / 413.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.3025, allocations: 2.115 MB / 415.2 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.3144, allocations: 10.84 MB / 426.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04511/0.3595, allocations: 28.69 MB / 454.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008424/0.368, allocations: 4.204 MB / 459 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00891/0.377, allocations: 4.886 MB / 463.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.3802, allocations: 0.6445 MB / 464.5 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005475/0.3857, allocations: 0.9957 MB / 465.5 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004269/0.39, allocations: 1.981 MB / 467.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.4005, allocations: 4.846 MB / 472.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02661/0.4271, allocations: 21.03 MB / 493.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4272, allocations: 0 / 493.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4272, allocations: 0 / 493.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007659/0.428, allocations: 7.938 kB / 493.4 MB, free: 8.816 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.3705/0.7985, allocations: 10.82 MB / 0.4924 GB, free: 94.62 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.7986, allocations: 10.84 kB / 0.4924 GB, free: 94.62 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03789/0.8365, allocations: 7.163 MB / 0.4994 GB, free: 92.36 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.8497, allocations: 6.178 MB / 0.5054 GB, free: 88.19 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/0.8503, allocations: 0.7121 MB / 0.5061 GB, free: 87.88 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003494/0.8538, allocations: 0.9441 MB / 0.507 GB, free: 87.56 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03292/0.8867, allocations: 16.15 MB / 0.5228 GB, free: 71.95 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002505/0.887, allocations: 11.91 kB / 0.5228 GB, free: 71.94 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/0.8888, allocations: 399.2 kB / 0.5232 GB, free: 71.56 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003951/0.8892, allocations: 0.5786 MB / 0.5238 GB, free: 70.98 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.9159, allocations: 15.4 MB / 0.5388 GB, free: 55.55 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/0.9891, allocations: 52.98 MB / 0.5905 GB, free: 1.59 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02947/1.019, allocations: 35.47 MB / 0.6252 GB, free: 9.852 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005857/1.025, allocations: 3.431 MB / 0.6285 GB, free: 6.406 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/1.042, allocations: 10.14 MB / 0.6384 GB, free: 12.27 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.042, allocations: 72.91 kB / 0.6385 GB, free: 12.19 MB / 442.8 MB Notification: Performance of pre-optimization done (n=303): time 4.769e-06/1.042, allocations: 0 / 0.6385 GB, free: 12.19 MB / 442.8 MB Notification: Performance of matching and sorting (n=309): time 0.03075/1.073, allocations: 15.17 MB / 0.6533 GB, free: 12.89 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.073, allocations: 81.81 kB / 0.6534 GB, free: 12.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/1.078, allocations: 3.821 MB / 0.6571 GB, free: 8.984 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.079, allocations: 77.7 kB / 0.6572 GB, free: 8.902 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.081, allocations: 4.26 MB / 0.6614 GB, free: 4.617 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000826/1.082, allocations: 1.073 MB / 0.6624 GB, free: 3.551 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.082, allocations: 108 kB / 0.6625 GB, free: 3.445 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003045/1.083, allocations: 0.5293 MB / 0.663 GB, free: 2.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/1.086, allocations: 2.568 MB / 0.6655 GB, free: 344 kB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1988/1.285, allocations: 4.944 MB / 0.6704 GB, free: 158.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008872/1.294, allocations: 7.997 MB / 0.6782 GB, free: 152.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-05/1.294, allocations: 23.34 kB / 0.6782 GB, free: 152.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01252/1.306, allocations: 8.67 MB / 0.6867 GB, free: 149.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/1.306, allocations: 43.28 kB / 0.6867 GB, free: 149.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-05/1.307, allocations: 78.41 kB / 0.6868 GB, free: 149.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/1.309, allocations: 1.212 MB / 0.688 GB, free: 148.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/1.313, allocations: 1.222 MB / 0.6891 GB, free: 148.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.324, allocations: 9.129 MB / 0.6981 GB, free: 143.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.328, allocations: 332.3 kB / 0.6984 GB, free: 143.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005144/1.329, allocations: 285.3 kB / 0.6986 GB, free: 143.8 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005271/1.334, allocations: 3.733 MB / 0.7023 GB, free: 140.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/1.335, allocations: 388.8 kB / 0.7027 GB, free: 140.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008666/1.344, allocations: 5.859 MB / 0.7084 GB, free: 135.6 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006217/1.35, allocations: 4.816 MB / 0.7131 GB, free: 131 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.35, allocations: 8 kB / 0.7131 GB, free: 131 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/1.35, allocations: 19.94 kB / 0.7131 GB, free: 131 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.368, allocations: 13.79 MB / 0.7266 GB, free: 117.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.368, allocations: 4 kB / 0.7266 GB, free: 117.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/1.37, allocations: 0.566 MB / 0.7271 GB, free: 116.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/1.372, allocations: 1.078 MB / 0.7282 GB, free: 115.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/1.373, allocations: 72.86 kB / 0.7283 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009511/1.382, allocations: 8.053 MB / 0.7361 GB, free: 107.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.382, allocations: 7.984 kB / 0.7361 GB, free: 107.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.393, allocations: 8.592 MB / 0.7445 GB, free: 98.74 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.395, allocations: 0.8865 MB / 0.7454 GB, free: 97.83 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/1.395, allocations: 60 kB / 0.7455 GB, free: 97.77 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/1.397, allocations: 197.6 kB / 0.7456 GB, free: 97.58 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005472/1.397, allocations: 222.6 kB / 0.7459 GB, free: 97.36 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.397, allocations: 99.97 kB / 0.7459 GB, free: 97.27 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003196/1.401, allocations: 2.553 MB / 0.7484 GB, free: 94.73 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.401, allocations: 0 / 0.7484 GB, free: 94.73 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004769/1.405, allocations: 1.552 MB / 0.75 GB, free: 93.18 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004805/1.406, allocations: 258.7 kB / 0.7502 GB, free: 92.93 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009742/1.416, allocations: 6.565 MB / 0.7566 GB, free: 86.34 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.416, allocations: 0.9375 kB / 0.7566 GB, free: 86.34 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004496/1.42, allocations: 2.988 MB / 0.7595 GB, free: 83.35 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.425, allocations: 0.8921 MB / 0.7604 GB, free: 82.46 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/1.45, allocations: 20.37 MB / 0.7803 GB, free: 62.02 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005311/1.455, allocations: 6.231 MB / 0.7864 GB, free: 55.74 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005112/1.461, allocations: 1.933 MB / 0.7883 GB, free: 53.8 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/1.461, allocations: 311.4 kB / 0.7886 GB, free: 53.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.133e-06/1.461, allocations: 0 / 0.7886 GB, free: 53.5 MB / 458.8 MB Notification: Performance of Templates: time 0.2645/1.726, allocations: 60.74 MB / 0.8479 GB, free: 134.9 MB / 458.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches