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_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 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_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_3.2.3_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_3.2.3_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.001496/0.001496, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001676/0.001676, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.262/1.262, 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.00116/0.00116, allocations: 51.94 kB / 329.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0686/0.06977, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1596/0.2294, allocations: 24.96 MB / 400.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.243, allocations: 7.717 MB / 408.6 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.2466, allocations: 153.1 kB / 408.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.2643, allocations: 8.366 MB / 417.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.2725, allocations: 3.049 MB / 420.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.2769, allocations: 1.793 MB / 421.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.2886, allocations: 11.21 MB / 433.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02793/0.3166, allocations: 23.35 MB / 456.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006717/0.3233, allocations: 5.966 MB / 462.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008217/0.3316, allocations: 6.533 MB / 469 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003219/0.3348, allocations: 1.723 MB / 470.7 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.3395, allocations: 2.125 MB / 472.8 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.3424, allocations: 3.457 MB / 476.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006693/0.3491, allocations: 6.432 MB / 482.7 MB, free: 4.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.3671, allocations: 23.15 MB / 0.494 GB, free: 13.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3671, allocations: 0 / 0.494 GB, free: 13.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3671, allocations: 0 / 0.494 GB, free: 13.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002701/0.3674, allocations: 0 / 0.494 GB, free: 13.31 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03028/0.3977, allocations: 13.55 MB / 0.5072 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3977, allocations: 8.031 kB / 0.5072 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0397/0.4374, allocations: 7.252 MB / 0.5143 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.4479, allocations: 6.492 MB / 0.5207 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/0.4484, allocations: 0.7305 MB / 0.5214 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.45, allocations: 0.9569 MB / 0.5223 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.4758, allocations: 16.59 MB / 0.5385 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.476, allocations: 19.83 kB / 0.5385 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.4771, allocations: 411.9 kB / 0.5389 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005243/0.4776, allocations: 0.5908 MB / 0.5395 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2956/0.7732, allocations: 15.79 MB / 0.5549 GB, free: 132.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06448/0.8378, allocations: 53.28 MB / 0.6069 GB, free: 100.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/0.8529, allocations: 22.72 MB / 0.6291 GB, free: 79.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/0.8572, allocations: 3.813 MB / 0.6329 GB, free: 77.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/0.8713, allocations: 11.67 MB / 0.6443 GB, free: 66.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.8714, allocations: 73.3 kB / 0.6443 GB, free: 66.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 4.628e-06/0.8714, allocations: 0 / 0.6443 GB, free: 66.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.03263/0.904, allocations: 17.52 MB / 0.6614 GB, free: 48.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.9041, allocations: 90.25 kB / 0.6615 GB, free: 48.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/0.9088, allocations: 4.761 MB / 0.6662 GB, free: 43.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.909, allocations: 81.7 kB / 0.6662 GB, free: 43.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.9105, allocations: 4.477 MB / 0.6706 GB, free: 38.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006206/0.9111, allocations: 1.256 MB / 0.6718 GB, free: 37.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.9126, allocations: 1.183 MB / 0.673 GB, free: 36.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 2.864e-05/0.9126, allocations: 305.1 kB / 0.6733 GB, free: 36.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/0.916, allocations: 2.901 MB / 0.6761 GB, free: 33.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/0.9201, allocations: 5.266 MB / 0.6813 GB, free: 26.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/0.9281, allocations: 8.64 MB / 0.6897 GB, free: 17.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.9281, allocations: 24 kB / 0.6897 GB, free: 17.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01277/0.9409, allocations: 9.615 MB / 0.6991 GB, free: 7.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.9409, allocations: 40 kB / 0.6992 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/0.941, allocations: 79.98 kB / 0.6992 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/0.9444, allocations: 1.438 MB / 0.7006 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00411/0.9485, allocations: 1.334 MB / 0.7019 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.9645, allocations: 12.67 MB / 0.7143 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.9682, allocations: 367.5 kB / 0.7147 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/0.9686, allocations: 300 kB / 0.7149 GB, free: 6.973 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00517/0.9738, allocations: 3.927 MB / 0.7188 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/0.9745, allocations: 450.4 kB / 0.7192 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.9862, allocations: 6.769 MB / 0.7258 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/0.9863, allocations: 23.91 kB / 0.7258 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.9863, allocations: 0 / 0.7258 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/0.9879, allocations: 0.9952 MB / 0.7268 GB, free: 10.72 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/0.9884, allocations: 64 kB / 0.7269 GB, free: 10.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.9905, allocations: 211.8 kB / 0.7271 GB, free: 10.45 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/0.991, allocations: 286.6 kB / 0.7274 GB, free: 10.17 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01161/1.003, allocations: 6.364 MB / 0.7336 GB, free: 3.809 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01095/1.014, allocations: 7.995 MB / 0.7414 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003179/1.017, allocations: 2.436 MB / 0.7438 GB, free: 9.312 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004238/1.021, allocations: 3.233 MB / 0.7469 GB, free: 6.074 MB / 0.5138 GB Notification: Performance of Backend: time 3.91e-07/1.021, allocations: 7.938 kB / 0.7469 GB, free: 6.066 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.032, allocations: 6.034 MB / 0.7528 GB, free: 52 kB / 0.5138 GB Notification: Performance of SimCode: time 0.1804/1.212, allocations: 16.92 MB / 0.7693 GB, free: 174.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1041/1.317, allocations: 79.51 MB / 0.847 GB, free: 110.6 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches