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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.1 kB / 18.4 MB, free: 4.652 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.001057/0.001057, allocations: 184.5 kB / 19.34 MB, free: 3.73 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.228/1.228, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001176/0.001176, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06818/0.06937, allocations: 46.61 MB / 375.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1643/0.2337, allocations: 27.09 MB / 402.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.2484, allocations: 8.002 MB / 410.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.2513, allocations: 167.2 kB / 411.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01887/0.2702, allocations: 9.359 MB / 420.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008791/0.279, allocations: 3.366 MB / 423.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.2831, allocations: 1.84 MB / 425.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.2953, allocations: 12.28 MB / 438 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02781/0.3232, allocations: 24.42 MB / 462.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007639/0.3308, allocations: 6.55 MB / 468.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008243/0.3391, allocations: 7.261 MB / 476.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002307/0.3414, allocations: 1.852 MB / 478 MB, free: 9.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.345, allocations: 2.211 MB / 480.2 MB, free: 7.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.3478, allocations: 3.671 MB / 483.9 MB, free: 3.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006698/0.3545, allocations: 7.004 MB / 490.9 MB, free: 12.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.3748, allocations: 24.77 MB / 0.5036 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3748, allocations: 0 / 0.5036 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3749, allocations: 0 / 0.5036 GB, free: 3.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003044/0.3752, allocations: 0 / 0.5036 GB, free: 3.473 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.03319/0.4084, allocations: 14.67 MB / 0.5179 GB, free: 4.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4084, allocations: 8.031 kB / 0.5179 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05184/0.4603, allocations: 9.475 MB / 0.5272 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.4731, allocations: 6.895 MB / 0.5339 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/0.4737, allocations: 0.8188 MB / 0.5347 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/0.4765, allocations: 1.066 MB / 0.5358 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1736/0.6501, allocations: 18.75 MB / 0.5541 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003146/0.6504, allocations: 9.812 kB / 0.5541 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/0.6525, allocations: 455.4 kB / 0.5545 GB, free: 136.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007509/0.6533, allocations: 0.6973 MB / 0.5552 GB, free: 136.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/0.6854, allocations: 18.22 MB / 0.573 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/0.7502, allocations: 59.35 MB / 0.6309 GB, free: 82.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/0.7745, allocations: 46.73 MB / 0.6766 GB, free: 31.06 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004867/0.7794, allocations: 4.273 MB / 0.6808 GB, free: 26.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/0.7951, allocations: 12.35 MB / 0.6928 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.7951, allocations: 73.27 kB / 0.6929 GB, free: 14.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.079e-06/0.7951, allocations: 0 / 0.6929 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.03673/0.8319, allocations: 19.31 MB / 0.7117 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.8319, allocations: 90.47 kB / 0.7118 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.8374, allocations: 4.342 MB / 0.7161 GB, free: 6.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.8377, allocations: 89.7 kB / 0.7162 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/0.8405, allocations: 4.818 MB / 0.7209 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.8415, allocations: 1.357 MB / 0.7222 GB, free: 240 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.8433, allocations: 1.27 MB / 0.7234 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.8434, allocations: 309.1 kB / 0.7237 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/0.8478, allocations: 3.116 MB / 0.7268 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006095/0.854, allocations: 5.743 MB / 0.7324 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.8652, allocations: 9.442 MB / 0.7416 GB, free: 9.887 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.983e-05/0.8652, allocations: 28 kB / 0.7416 GB, free: 9.859 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.1772/1.042, allocations: 10.27 MB / 0.7516 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-05/1.042, allocations: 42.38 kB / 0.7517 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.043, allocations: 90.81 kB / 0.7518 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/1.046, allocations: 1.454 MB / 0.7532 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00515/1.052, allocations: 1.459 MB / 0.7546 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/1.067, allocations: 11.44 MB / 0.7658 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/1.071, allocations: 405.2 kB / 0.7662 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/1.072, allocations: 331.7 kB / 0.7665 GB, free: 161.1 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.005463/1.077, allocations: 4.172 MB / 0.7706 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/1.078, allocations: 443.4 kB / 0.771 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.089, allocations: 7.358 MB / 0.7782 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/1.089, allocations: 21.64 kB / 0.7782 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.089, allocations: 1.969 kB / 0.7782 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.092, allocations: 1.046 MB / 0.7792 GB, free: 156 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005391/1.092, allocations: 65.75 kB / 0.7793 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.094, allocations: 253.2 kB / 0.7795 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/1.095, allocations: 305.1 kB / 0.7798 GB, free: 155.8 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01024/1.105, allocations: 6.869 MB / 0.7865 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009356/1.114, allocations: 8.544 MB / 0.7949 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002755/1.117, allocations: 2.689 MB / 0.7975 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003184/1.12, allocations: 2.905 MB / 0.8003 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of Backend: time 4.3e-07/1.12, allocations: 0 / 0.8003 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008739/1.129, allocations: 5.885 MB / 0.8061 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02176/1.151, allocations: 17.9 MB / 0.8236 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1105/1.261, allocations: 86.82 MB / 0.9083 GB, free: 43.06 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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