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.IMC_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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 110.6 kB / 18.4 MB, free: 4.68 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.001242/0.001242, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00117/0.00117, allocations: 43.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06995/0.07113, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1648/0.236, allocations: 24.89 MB / 400.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.2493, allocations: 7.35 MB / 408.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.2531, allocations: 160 kB / 408.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01935/0.2725, allocations: 8.798 MB / 417 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008877/0.2813, allocations: 2.973 MB / 420 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.2859, allocations: 1.734 MB / 421.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.2978, allocations: 10.87 MB / 432.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02526/0.3231, allocations: 21.86 MB / 454.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0068/0.3299, allocations: 5.782 MB / 460.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.3375, allocations: 6.35 MB / 466.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.3396, allocations: 1.68 MB / 468.3 MB, free: 3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.3428, allocations: 2.039 MB / 470.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.3452, allocations: 3.227 MB / 473.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005765/0.351, allocations: 6.168 MB / 479.7 MB, free: 7.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01726/0.3683, allocations: 22.38 MB / 0.4903 GB, free: 1.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3683, allocations: 4 kB / 0.4903 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3683, allocations: 0 / 0.4903 GB, free: 1.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002663/0.3686, allocations: 0 / 0.4903 GB, free: 1.094 MB / 414.1 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.0298/0.3984, allocations: 12.9 MB / 0.5029 GB, free: 4.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3984, allocations: 8.031 kB / 0.5029 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03976/0.4382, allocations: 7.187 MB / 0.51 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.4492, allocations: 6.168 MB / 0.516 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/0.4497, allocations: 0.7105 MB / 0.5167 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.4515, allocations: 0.9373 MB / 0.5176 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/0.481, allocations: 16.2 MB / 0.5334 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.4812, allocations: 15.89 kB / 0.5334 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.4823, allocations: 396 kB / 0.5338 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005268/0.4828, allocations: 0.5786 MB / 0.5344 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/0.5073, allocations: 15.46 MB / 0.5495 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.354/0.8613, allocations: 52.23 MB / 0.6005 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/0.8817, allocations: 35.49 MB / 0.6351 GB, free: 70.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.8855, allocations: 3.391 MB / 0.6385 GB, free: 68.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.8984, allocations: 10.03 MB / 0.6482 GB, free: 60.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.8984, allocations: 76.75 kB / 0.6483 GB, free: 60.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.098e-06/0.8984, allocations: 0 / 0.6483 GB, free: 60.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.02952/0.928, allocations: 15.36 MB / 0.6633 GB, free: 45.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.928, allocations: 81.78 kB / 0.6634 GB, free: 45.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.932, allocations: 3.852 MB / 0.6672 GB, free: 41.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.9322, allocations: 73.7 kB / 0.6672 GB, free: 41.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.9337, allocations: 4.27 MB / 0.6714 GB, free: 36.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.9343, allocations: 1.055 MB / 0.6724 GB, free: 35.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.9356, allocations: 1.095 MB / 0.6735 GB, free: 34.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.9356, allocations: 301.1 kB / 0.6738 GB, free: 34.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.9386, allocations: 2.548 MB / 0.6763 GB, free: 31.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/0.9423, allocations: 4.917 MB / 0.6811 GB, free: 25.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/0.9495, allocations: 7.946 MB / 0.6888 GB, free: 16.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.9496, allocations: 20 kB / 0.6889 GB, free: 16.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01178/0.9614, allocations: 8.645 MB / 0.6973 GB, free: 7.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.9614, allocations: 40.53 kB / 0.6973 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-05/0.9615, allocations: 88 kB / 0.6974 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.9645, allocations: 1.236 MB / 0.6986 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.9684, allocations: 1.224 MB / 0.6998 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.9819, allocations: 9.948 MB / 0.7095 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/0.9856, allocations: 331.3 kB / 0.7099 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/0.9861, allocations: 288 kB / 0.7101 GB, free: 10.71 MB / 494.1 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005168/0.9913, allocations: 3.736 MB / 0.7138 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.992, allocations: 379.3 kB / 0.7141 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.002, allocations: 5.814 MB / 0.7198 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/1.002, allocations: 15.94 kB / 0.7198 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.002, allocations: 0 / 0.7198 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.004, allocations: 0.8516 MB / 0.7207 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004657/1.004, allocations: 48 kB / 0.7207 GB, free: 15.78 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.006, allocations: 187.7 kB / 0.7209 GB, free: 15.59 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/1.006, allocations: 242.2 kB / 0.7211 GB, free: 15.36 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009679/1.016, allocations: 5.408 MB / 0.7264 GB, free: 9.965 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009158/1.025, allocations: 6.723 MB / 0.733 GB, free: 3.172 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002637/1.028, allocations: 2.077 MB / 0.735 GB, free: 1.082 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003738/1.032, allocations: 2.588 MB / 0.7375 GB, free: 14.51 MB / 0.5138 GB Notification: Performance of Backend: time 3.91e-07/1.032, allocations: 0 / 0.7375 GB, free: 14.51 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009942/1.042, allocations: 4.971 MB / 0.7424 GB, free: 9.57 MB / 0.5138 GB Notification: Performance of SimCode: time 0.1813/1.223, allocations: 15.56 MB / 0.7576 GB, free: 175.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.09678/1.32, allocations: 72.35 MB / 0.8282 GB, free: 126.4 MB / 0.5138 GB 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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