Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001223/0.001223, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009174/0.0009175, allocations: 43.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2106, allocations: 49.43 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02457/0.2352, allocations: 24.83 MB / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.248, allocations: 7.821 MB / 434.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.251, allocations: 183.4 kB / 434.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01725/0.2682, allocations: 8.42 MB / 442.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007332/0.2756, allocations: 3.031 MB / 445.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.2797, allocations: 1.823 MB / 447.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.2909, allocations: 11.1 MB / 458.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02816/0.3191, allocations: 23.31 MB / 482 MB, free: 7.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006983/0.3261, allocations: 5.923 MB / 487.9 MB, free: 2.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008998/0.3351, allocations: 6.44 MB / 494.3 MB, free: 11.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003251/0.3384, allocations: 1.715 MB / 496.1 MB, free: 9.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/0.3432, allocations: 2.125 MB / 498.2 MB, free: 7.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.3466, allocations: 3.387 MB / 0.4898 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006793/0.3534, allocations: 6.354 MB / 0.496 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.3732, allocations: 23.11 MB / 0.5186 GB, free: 6.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3733, allocations: 4 kB / 0.5186 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3733, allocations: 0 / 0.5186 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003039/0.3736, allocations: 0 / 0.5186 GB, free: 6.785 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03126/0.4049, allocations: 13.38 MB / 0.5317 GB, free: 9.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4049, allocations: 8.031 kB / 0.5317 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03506/0.44, allocations: 6.259 MB / 0.5378 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.327/0.767, allocations: 7.253 MB / 0.5449 GB, free: 112.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.7673, allocations: 0.717 MB / 0.5456 GB, free: 112.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.7691, allocations: 0.9436 MB / 0.5465 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.7913, allocations: 16.13 MB / 0.5622 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.7915, allocations: 19.48 kB / 0.5623 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/0.7925, allocations: 401.7 kB / 0.5626 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.7929, allocations: 0.5562 MB / 0.5632 GB, free: 105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.8125, allocations: 15.11 MB / 0.5779 GB, free: 90.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05458/0.8671, allocations: 52 MB / 0.6287 GB, free: 37.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.8811, allocations: 20.1 MB / 0.6483 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/0.8853, allocations: 3.633 MB / 0.6519 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.8856, allocations: 187.4 kB / 0.6521 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.8857, allocations: 78.06 kB / 0.6521 GB, free: 11.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 5.881e-06/0.8857, allocations: 0 / 0.6521 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.04482/0.9305, allocations: 20.63 MB / 0.6723 GB, free: 6.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.9306, allocations: 94.95 kB / 0.6724 GB, free: 6.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005682/0.9363, allocations: 4.493 MB / 0.6768 GB, free: 2.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.9366, allocations: 97.7 kB / 0.6769 GB, free: 2.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.9391, allocations: 4.192 MB / 0.681 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.9403, allocations: 1.531 MB / 0.6824 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.942, allocations: 1.192 MB / 0.6836 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.9421, allocations: 313.1 kB / 0.6839 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/0.9466, allocations: 3.057 MB / 0.6869 GB, free: 7.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.9526, allocations: 5.219 MB / 0.692 GB, free: 1.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.9642, allocations: 8.868 MB / 0.7007 GB, free: 7.797 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/0.9643, allocations: 20 kB / 0.7007 GB, free: 7.777 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01642/0.9807, allocations: 9.86 MB / 0.7103 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.9808, allocations: 38.34 kB / 0.7103 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-05/0.9809, allocations: 71.94 kB / 0.7104 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.9848, allocations: 1.403 MB / 0.7118 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/0.9896, allocations: 1.384 MB / 0.7131 GB, free: 11 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/1.007, allocations: 12.67 MB / 0.7255 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/1.011, allocations: 355.4 kB / 0.7258 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/1.012, allocations: 299.9 kB / 0.7261 GB, free: 13.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005417/1.017, allocations: 3.881 MB / 0.7299 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007813/1.018, allocations: 462.3 kB / 0.7304 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.032, allocations: 8.506 MB / 0.7387 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/1.032, allocations: 23.91 kB / 0.7387 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.032, allocations: 3.984 kB / 0.7387 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1834/1.215, allocations: 1.073 MB / 0.7397 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.217, allocations: 79.31 kB / 0.7398 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/1.219, allocations: 223.8 kB / 0.74 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007807/1.22, allocations: 331.9 kB / 0.7403 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0115/1.232, allocations: 7.112 MB / 0.7473 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01048/1.242, allocations: 9.149 MB / 0.7562 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002856/1.245, allocations: 2.78 MB / 0.7589 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003459/1.249, allocations: 3.103 MB / 0.762 GB, free: 168 MB / 0.5294 GB Notification: Performance of Backend: time 2.7e-07/1.249, allocations: 0.6875 kB / 0.762 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.259, allocations: 6.277 MB / 0.7681 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02148/1.28, allocations: 16.8 MB / 0.7845 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1077/1.388, allocations: 84.77 MB / 0.8673 GB, free: 71.19 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches