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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 164.1 kB / 25.69 MB, free: 8.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8259/0.8259, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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=100000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.557e-05, allocations: 6.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01724/0.01726, allocations: 23.47 MB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.02981, allocations: 7.994 MB / 283.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.03239, allocations: 187 kB / 283.2 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008833/0.04122, allocations: 8.92 MB / 292.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.04713, allocations: 3.181 MB / 295.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.04958, allocations: 1.816 MB / 297.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009077/0.05866, allocations: 11.7 MB / 308.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.07387, allocations: 15 MB / 323.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009041/0.08291, allocations: 9.166 MB / 333 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.08944, allocations: 6.589 MB / 339.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002493/0.09193, allocations: 1.723 MB / 341.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.09435, allocations: 2.12 MB / 343.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.09645, allocations: 3.585 MB / 347 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003603/0.1001, allocations: 4.324 MB / 351.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1161/0.2162, allocations: 10.95 MB / 362.3 MB, free: 54.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2162, allocations: 3.25 kB / 362.3 MB, free: 54.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2162, allocations: 0 / 362.3 MB, free: 54.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001409/0.2163, allocations: 0 / 362.3 MB, free: 54.38 MB / 330.7 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.01404/0.2303, allocations: 12.69 MB / 375 MB, free: 50.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2304, allocations: 14.02 kB / 375 MB, free: 50.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01732/0.2477, allocations: 7.237 MB / 382.3 MB, free: 50.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005054/0.2527, allocations: 3.344 MB / 385.6 MB, free: 49.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.253, allocations: 0.7382 MB / 386.3 MB, free: 49.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009962/0.254, allocations: 0.9611 MB / 387.3 MB, free: 49.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008491/0.2625, allocations: 8.133 MB / 395.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/0.2627, allocations: 11.23 kB / 395.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000691/0.2634, allocations: 405.8 kB / 395.8 MB, free: 44.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/0.2637, allocations: 0.5908 MB / 396.4 MB, free: 43.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.2692, allocations: 4.256 MB / 400.7 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02895/0.2982, allocations: 31.71 MB / 432.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.3031, allocations: 5.235 MB / 437.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.3044, allocations: 1.228 MB / 438.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007538/0.3119, allocations: 4.952 MB / 443.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3119, allocations: 73.11 kB / 443.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=357): time 5.49e-06/0.3119, allocations: 4 kB / 443.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=362): time 0.01541/0.3274, allocations: 7.948 MB / 451.8 MB, free: 5.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3274, allocations: 90.25 kB / 451.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.3306, allocations: 3.496 MB / 455.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.3307, allocations: 81.7 kB / 455.5 MB, free: 2.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.3323, allocations: 4.166 MB / 459.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/0.333, allocations: 1.3 MB / 461 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.3343, allocations: 1.096 MB / 462.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.3344, allocations: 305.1 kB / 462.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3354, allocations: 0.8203 MB / 463.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.3372, allocations: 3.012 MB / 466.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.3407, allocations: 4.414 MB / 470.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.3407, allocations: 24 kB / 470.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.004897/0.3456, allocations: 4.204 MB / 474.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.3456, allocations: 43.98 kB / 474.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.344e-05/0.3457, allocations: 76 kB / 474.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.348, allocations: 1.195 MB / 476.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.3502, allocations: 1.201 MB / 477.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.3565, allocations: 6.423 MB / 483.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.3584, allocations: 227.8 kB / 484 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.3586, allocations: 244 kB / 484.2 MB, free: 5.312 MB / 378.7 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.001943/0.3606, allocations: 0.5088 MB / 484.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.3611, allocations: 367.6 kB / 485.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.3648, allocations: 2.83 MB / 487.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002361/0.3672, allocations: 1.785 MB / 489.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3672, allocations: 12 kB / 489.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.3672, allocations: 23.92 kB / 489.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008994/0.3762, allocations: 6.714 MB / 496.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.3762, allocations: 4 kB / 496.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.3775, allocations: 0.5414 MB / 497 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.3794, allocations: 1.075 MB / 498.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.3795, allocations: 75.97 kB / 498.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/0.3851, allocations: 6.031 MB / 0.4924 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3851, allocations: 7.281 kB / 0.4924 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1231/0.5082, allocations: 3.369 MB / 0.4957 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.5096, allocations: 0.521 MB / 0.4962 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/0.51, allocations: 74.28 kB / 0.4962 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/0.511, allocations: 99.77 kB / 0.4963 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/0.5114, allocations: 287.2 kB / 0.4966 GB, free: 108.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.5116, allocations: 76.55 kB / 0.4967 GB, free: 108.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.5133, allocations: 1.662 MB / 0.4983 GB, free: 108.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5133, allocations: 3.719 kB / 0.4983 GB, free: 108.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003463/0.5167, allocations: 1.674 MB / 0.5 GB, free: 108.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * 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,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.5179, allocations: 0.5924 MB / 0.5005 GB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.5218, allocations: 3.494 MB / 0.5039 GB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001208/0.522, allocations: 72.28 kB / 0.504 GB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.5239, allocations: 1.853 MB / 0.5058 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5259, allocations: 0.9442 MB / 0.5067 GB, free: 107.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.5421, allocations: 14.65 MB / 0.5211 GB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.5439, allocations: 1.968 MB / 0.523 GB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001906/0.5458, allocations: 0.7049 MB / 0.5237 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/0.5473, allocations: 0.8759 MB / 0.5245 GB, free: 101.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5473, allocations: 0 / 0.5245 GB, free: 101.2 MB / 394.7 MB Notification: Performance of Templates: time 0.07575/0.6231, allocations: 66.73 MB / 0.5897 GB, free: 39.79 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36022030422464]