Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 143.1 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9203/0.9203, allocations: 173.4 MB / 201.5 MB, free: 8.262 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 268.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.98e-05, allocations: 5.266 kB / 268.6 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007975/0.007995, allocations: 9.401 MB / 278 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.01351, allocations: 3.599 MB / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.01439, allocations: 59.62 kB / 281.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.01554, allocations: 0.6791 MB / 282.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.01693, allocations: 0.9081 MB / 283.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.01757, allocations: 463 kB / 283.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.01948, allocations: 2.739 MB / 286.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.02054, allocations: 1.109 MB / 287.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.02266, allocations: 1.996 MB / 289.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.02382, allocations: 1.337 MB / 290.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.02408, allocations: 296 kB / 291.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.02479, allocations: 0.5423 MB / 291.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.02539, allocations: 1.044 MB / 292.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.0261, allocations: 0.9663 MB / 293.7 MB, free: 476 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.02836, allocations: 2.449 MB / 296.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02836, allocations: 0 / 296.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02836, allocations: 0 / 296.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.02839, allocations: 0 / 296.1 MB, free: 14.01 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.002705/0.0311, allocations: 2.937 MB / 299.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.03113, allocations: 8.031 kB / 299.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.03171, allocations: 396.6 kB / 299.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.03297, allocations: 1.174 MB / 300.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.03306, allocations: 152.4 kB / 300.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.03326, allocations: 216.3 kB / 301 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.03484, allocations: 1.566 MB / 302.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.03488, allocations: 7.891 kB / 302.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.03499, allocations: 83.98 kB / 302.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.03507, allocations: 95.92 kB / 302.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.03615, allocations: 0.5945 MB / 303.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/0.04133, allocations: 4.874 MB / 308.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.04231, allocations: 0.7102 MB / 308.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.04289, allocations: 488.3 kB / 309.4 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.04302, allocations: 44.98 kB / 309.4 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.04305, allocations: 51.5 kB / 309.5 MB, free: 248 kB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.186e-06/0.04306, allocations: 0 / 309.5 MB, free: 248 kB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004763/0.04782, allocations: 2.766 MB / 312.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.04785, allocations: 68.72 kB / 312.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.04884, allocations: 1.39 MB / 313.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.0489, allocations: 49.7 kB / 313.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.04925, allocations: 0.8505 MB / 314.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.04947, allocations: 479.8 kB / 315.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.04972, allocations: 235.4 kB / 315.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.04982, allocations: 357.8 kB / 315.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.05007, allocations: 174.7 kB / 315.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.05039, allocations: 414 kB / 316.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.05106, allocations: 0.7225 MB / 317 MB, free: 8.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.05106, allocations: 0 / 317 MB, free: 8.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001662/0.05272, allocations: 1.055 MB / 318 MB, free: 7.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.05274, allocations: 10.19 kB / 318 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.05275, allocations: 8 kB / 318 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.05381, allocations: 0.5304 MB / 318.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.05441, allocations: 263.6 kB / 318.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.05839, allocations: 4.645 MB / 323.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.05884, allocations: 39.98 kB / 323.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.05892, allocations: 39.98 kB / 323.5 MB, free: 1.707 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.0593, allocations: 188.5 kB / 323.7 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.05951, allocations: 151.8 kB / 323.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.06102, allocations: 1.004 MB / 324.9 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.06103, allocations: 16 kB / 324.9 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.06104, allocations: 4 kB / 324.9 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.06105, allocations: 7.969 kB / 324.9 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.06401, allocations: 2.251 MB / 327.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.06401, allocations: 4 kB / 327.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.06455, allocations: 206.9 kB / 327.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000885/0.06544, allocations: 485.3 kB / 327.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.0655, allocations: 35.95 kB / 327.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.06919, allocations: 5.397 MB / 333.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.06919, allocations: 7.969 kB / 333.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.07082, allocations: 1.332 MB / 334.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.07117, allocations: 246.6 kB / 334.8 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.07128, allocations: 31.98 kB / 334.9 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.07164, allocations: 43.97 kB / 334.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.07181, allocations: 100.8 kB / 335 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.07187, allocations: 35.98 kB / 335 MB, free: 5.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005179/0.07239, allocations: 0.6624 MB / 335.7 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07239, allocations: 0 / 335.7 MB, free: 5.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001103/0.07349, allocations: 0.5038 MB / 336.2 MB, free: 4.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.07465, allocations: 0.54 MB / 336.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.07602, allocations: 1.164 MB / 337.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/0.07604, allocations: 20.5 kB / 337.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.07714, allocations: 0.9195 MB / 338.9 MB, free: 2.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.07804, allocations: 394.6 kB / 339.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.08242, allocations: 4.019 MB / 343.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.0829, allocations: 0.5738 MB / 343.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005124/0.08341, allocations: 201.4 kB / 344 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.08404, allocations: 385.1 kB / 344.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.08404, allocations: 0 / 344.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of Templates: time 0.1271/0.2112, allocations: 28.49 MB / 372.9 MB, free: 73.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/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: 3.843585154041648]