Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.0008704/0.0008704, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005435/0.005435, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8787/0.8787, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.7e-05, allocations: 2.281 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01008/0.0101, allocations: 8.642 MB / 334.5 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007714/0.01782, allocations: 3.568 MB / 338.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.02064, allocations: 63.62 kB / 338.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.02305, allocations: 0.6519 MB / 338.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.02645, allocations: 0.9549 MB / 339.8 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.02791, allocations: 490.6 kB / 340.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.03209, allocations: 2.758 MB / 343 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.03384, allocations: 1.073 MB / 344.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.03715, allocations: 1.758 MB / 345.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.03953, allocations: 1.317 MB / 347.1 MB, free: 10 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.04029, allocations: 308 kB / 347.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.04147, allocations: 0.5579 MB / 348 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.04269, allocations: 1.067 MB / 349.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.04445, allocations: 1.001 MB / 350.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.04873, allocations: 4.339 MB / 354.4 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.04874, allocations: 0 / 354.4 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.04874, allocations: 0 / 354.4 MB, free: 2.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.04886, allocations: 0 / 354.4 MB, free: 2.715 MB / 314.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.005229/0.05408, allocations: 3.161 MB / 357.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.05413, allocations: 12.03 kB / 357.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.05483, allocations: 370.9 kB / 357.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.05686, allocations: 1.661 MB / 359.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/0.05695, allocations: 160.4 kB / 359.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.05717, allocations: 204.1 kB / 360 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.06054, allocations: 2.795 MB / 362.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.06058, allocations: 7.953 kB / 362.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.06071, allocations: 87.98 kB / 362.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/0.06078, allocations: 99.92 kB / 362.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.06346, allocations: 2.268 MB / 365.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008299/0.07176, allocations: 7.063 MB / 372.3 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.07347, allocations: 1.309 MB / 373.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.0746, allocations: 1.016 MB / 374.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.07477, allocations: 68.88 kB / 374.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.0748, allocations: 47.5 kB / 374.7 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.496e-06/0.07481, allocations: 0 / 374.7 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.008907/0.08371, allocations: 6.078 MB / 380.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.08376, allocations: 68.7 kB / 380.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.0858, allocations: 2.039 MB / 382.9 MB, free: 5.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.873e-05/0.0859, allocations: 49.64 kB / 382.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.08645, allocations: 1.14 MB / 384.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.08689, allocations: 475.9 kB / 384.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.08715, allocations: 247.5 kB / 384.8 MB, free: 3.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.08724, allocations: 357.9 kB / 385.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008551/0.0881, allocations: 0.7613 MB / 385.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/0.08901, allocations: 1.009 MB / 386.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.09081, allocations: 1.869 MB / 388.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.09081, allocations: 0 / 388.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003493/0.09431, allocations: 2.739 MB / 391.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.09433, allocations: 8 kB / 391.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.09435, allocations: 8 kB / 391.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.09557, allocations: 0.7773 MB / 392.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.09615, allocations: 275.6 kB / 392.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/0.1042, allocations: 9.231 MB / 401.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.1051, allocations: 91.83 kB / 401.9 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.1052, allocations: 56.05 kB / 402 MB, free: 2.25 MB / 362.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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.1063, allocations: 0.7435 MB / 402.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.1066, allocations: 206.8 kB / 402.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.1094, allocations: 2.468 MB / 405.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.1094, allocations: 12 kB / 405.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.1094, allocations: 8 kB / 405.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1094, allocations: 3.984 kB / 405.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.1154, allocations: 4.385 MB / 409.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.1154, allocations: 4 kB / 409.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.1159, allocations: 219.8 kB / 410 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.1171, allocations: 0.6355 MB / 410.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.1172, allocations: 43.97 kB / 410.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/0.1241, allocations: 8.258 MB / 418.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1241, allocations: 0 / 418.9 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/0.1285, allocations: 3.521 MB / 422.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.1292, allocations: 358.5 kB / 422.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.1294, allocations: 31.92 kB / 422.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.1298, allocations: 83.91 kB / 422.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.1301, allocations: 112.7 kB / 423 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.1301, allocations: 43.92 kB / 423.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001404/0.1315, allocations: 1.427 MB / 424.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1315, allocations: 0 / 424.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001329/0.1329, allocations: 0.5234 MB / 425 MB, free: 10.73 MB / 394.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.0009015/0.1338, allocations: 489.2 kB / 425.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.1367, allocations: 2.294 MB / 427.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1368, allocations: 1.25 kB / 427.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.1383, allocations: 1.467 MB / 429.3 MB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.1397, allocations: 395.8 kB / 429.6 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.1457, allocations: 5.075 MB / 434.7 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.1469, allocations: 1.364 MB / 436.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.1474, allocations: 136.5 kB / 436.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1474, allocations: 4 kB / 436.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of Templates: time 0.1874/0.3348, allocations: 64.47 MB / 0.489 GB, free: 73.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.78704796358943]