Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.91 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.0905, allocations: 46.61 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.219/0.3096, allocations: 27.09 MB / 401.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.3305, allocations: 7.994 MB / 409.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006907/0.3374, allocations: 167 kB / 409.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02465/0.3621, allocations: 9.359 MB / 419.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.3761, allocations: 3.374 MB / 422.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.383, allocations: 1.835 MB / 424.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01944/0.4025, allocations: 12.28 MB / 436.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04122/0.4438, allocations: 24.42 MB / 461.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01396/0.4578, allocations: 6.526 MB / 467.7 MB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.4717, allocations: 7.265 MB / 475 MB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005488/0.4772, allocations: 1.852 MB / 476.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/0.4854, allocations: 2.21 MB / 479.1 MB, free: 7.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005976/0.4914, allocations: 3.663 MB / 482.7 MB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01311/0.5046, allocations: 6.996 MB / 489.7 MB, free: 12.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03383/0.5384, allocations: 24.84 MB / 0.5025 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5385, allocations: 0 / 0.5025 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5385, allocations: 0 / 0.5025 GB, free: 3.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006092/0.5391, allocations: 0 / 0.5025 GB, free: 3.742 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04603/0.5852, allocations: 14.93 MB / 0.5171 GB, free: 4.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5852, allocations: 8.031 kB / 0.5171 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006794/0.592, allocations: 1.821 MB / 0.5188 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05446/0.6465, allocations: 9.527 MB / 0.5282 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.6627, allocations: 6.913 MB / 0.5349 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/0.6638, allocations: 0.8188 MB / 0.5357 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004415/0.6682, allocations: 1.078 MB / 0.5368 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.398/1.066, allocations: 18.74 MB / 0.5551 GB, free: 127.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006752/1.067, allocations: 14.28 kB / 0.5551 GB, free: 127.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004445/1.071, allocations: 454.5 kB / 0.5555 GB, free: 127.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/1.073, allocations: 0.7038 MB / 0.5562 GB, free: 127.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04072/1.114, allocations: 18.22 MB / 0.574 GB, free: 121.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08998/1.204, allocations: 59.5 MB / 0.6321 GB, free: 77.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03586/1.24, allocations: 46.71 MB / 0.6777 GB, free: 25.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00971/1.249, allocations: 4.274 MB / 0.6819 GB, free: 21.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/1.281, allocations: 12.38 MB / 0.694 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/1.281, allocations: 69.58 kB / 0.694 GB, free: 8.844 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 8.285e-06/1.281, allocations: 0 / 0.694 GB, free: 8.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.0755/1.357, allocations: 19.45 MB / 0.713 GB, free: 5.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.357, allocations: 90.47 kB / 0.7131 GB, free: 5.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.369, allocations: 4.352 MB / 0.7174 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.37, allocations: 89.7 kB / 0.7175 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007122/1.377, allocations: 4.997 MB / 0.7223 GB, free: 12.28 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003325/1.381, allocations: 1.419 MB / 0.7237 GB, free: 10.88 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00539/1.386, allocations: 1.279 MB / 0.725 GB, free: 9.59 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0002686/1.387, allocations: 304.9 kB / 0.7253 GB, free: 9.293 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/1.397, allocations: 3.124 MB / 0.7283 GB, free: 6.164 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/1.411, allocations: 5.737 MB / 0.7339 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/1.427, allocations: 9.45 MB / 0.7431 GB, free: 4.516 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/1.427, allocations: 24 kB / 0.7432 GB, free: 4.492 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2255/1.652, allocations: 10.29 MB / 0.7532 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/1.653, allocations: 43.5 kB / 0.7533 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.653, allocations: 90.56 kB / 0.7533 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004749/1.658, allocations: 1.448 MB / 0.7548 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006405/1.664, allocations: 1.46 MB / 0.7562 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.682, allocations: 11.46 MB / 0.7674 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/1.688, allocations: 399 kB / 0.7678 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.689, allocations: 330 kB / 0.7681 GB, free: 159.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008399/1.698, allocations: 4.175 MB / 0.7722 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.699, allocations: 468.7 kB / 0.7726 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.711, allocations: 7.352 MB / 0.7798 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008738/1.72, allocations: 6.034 MB / 0.7857 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.72, allocations: 13.62 kB / 0.7857 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/1.72, allocations: 20.48 kB / 0.7857 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.748, allocations: 16.34 MB / 0.8017 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.748, allocations: 4 kB / 0.8017 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.751, allocations: 0.7262 MB / 0.8024 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/1.754, allocations: 1.294 MB / 0.8036 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006151/1.755, allocations: 87.45 kB / 0.8037 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.767, allocations: 10.2 MB / 0.8137 GB, free: 133.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.768, allocations: 2.297 kB / 0.8137 GB, free: 133.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.782, allocations: 10.56 MB / 0.824 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003167/1.785, allocations: 1.06 MB / 0.825 GB, free: 122.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/1.787, allocations: 68 kB / 0.8251 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.79, allocations: 255.8 kB / 0.8253 GB, free: 121.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/1.79, allocations: 271.4 kB / 0.8256 GB, free: 121.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.791, allocations: 112 kB / 0.8257 GB, free: 121.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004406/1.795, allocations: 2.908 MB / 0.8285 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3e-07/1.795, allocations: 0 / 0.8285 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008144/1.803, allocations: 1.85 MB / 0.8304 GB, free: 116.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01474/1.818, allocations: 11.28 MB / 0.8414 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.83, allocations: 7.921 MB / 0.8491 GB, free: 97.54 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.83, allocations: 0 / 0.8491 GB, free: 97.54 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005876/1.836, allocations: 3.649 MB / 0.8527 GB, free: 93.88 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/1.842, allocations: 1.098 MB / 0.8537 GB, free: 92.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09235/1.934, allocations: 62.03 MB / 0.9143 GB, free: 27.68 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009779/1.944, allocations: 7.028 MB / 0.9212 GB, free: 20.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005928/1.95, allocations: 2.251 MB / 0.9234 GB, free: 18.34 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005805/1.956, allocations: 3.881 MB / 0.9272 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of SimCode: time 1.302e-06/1.956, allocations: 0 / 0.9272 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/2.41, allocations: 140.4 MB / 1.064 GB, free: 67.18 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.17/22.58, allocations: 4.812 kB / 1.064 GB, free: 67.17 MB / 0.5138 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches