Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005704/0.005704, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 379.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2861, allocations: 53.36 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01321/0.2993, allocations: 9.813 MB / 443 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0088/0.3081, allocations: 3.802 MB / 446.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.3102, allocations: 59.62 kB / 446.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.3126, allocations: 0.7024 MB / 447.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.3162, allocations: 0.9245 MB / 448.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3177, allocations: 486.4 kB / 449 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004846/0.3226, allocations: 2.67 MB / 451.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.3247, allocations: 1.109 MB / 452.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.327, allocations: 1.242 MB / 454 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.3302, allocations: 1.549 MB / 455.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006474/0.3308, allocations: 304 kB / 455.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3324, allocations: 0.6166 MB / 456.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3337, allocations: 1.044 MB / 457.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.3361, allocations: 1.497 MB / 459 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.343, allocations: 4.316 MB / 463.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.343, allocations: 3.938 kB / 463.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.343, allocations: 0 / 463.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.3431, allocations: 0 / 463.3 MB, free: 8.656 MB / 366.1 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.008117/0.3513, allocations: 3.181 MB / 466.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3513, allocations: 12.02 kB / 466.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3527, allocations: 378.9 kB / 466.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.3562, allocations: 1.666 MB / 468.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.3563, allocations: 152 kB / 468.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.3568, allocations: 204 kB / 468.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00543/0.3622, allocations: 2.694 MB / 471.6 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.3622, allocations: 7.953 kB / 471.6 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.3625, allocations: 87.97 kB / 471.7 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.3626, allocations: 91.94 kB / 471.8 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.3674, allocations: 2.283 MB / 474.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.3836, allocations: 8.018 MB / 482.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.3866, allocations: 1.324 MB / 483.4 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.3888, allocations: 1.02 MB / 484.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.389, allocations: 52.89 kB / 484.5 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.3891, allocations: 43.56 kB / 484.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.356e-06/0.3891, allocations: 4 kB / 484.5 MB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01432/0.4034, allocations: 6.108 MB / 490.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4034, allocations: 64.72 kB / 490.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.4068, allocations: 2.185 MB / 492.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.4071, allocations: 49.7 kB / 492.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.4081, allocations: 1.134 MB / 494.1 MB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.4086, allocations: 479.9 kB / 494.5 MB, free: 8.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.409, allocations: 247.5 kB / 494.8 MB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4092, allocations: 361.9 kB / 495.1 MB, free: 8.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4106, allocations: 0.7574 MB / 495.9 MB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.4122, allocations: 1.014 MB / 496.9 MB, free: 6.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.4153, allocations: 1.861 MB / 498.8 MB, free: 4.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4153, allocations: 4 kB / 498.8 MB, free: 4.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005591/0.4209, allocations: 2.746 MB / 0.4898 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4209, allocations: 8 kB / 0.4898 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.421, allocations: 8 kB / 0.4898 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.4231, allocations: 0.793 MB / 0.4905 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4243, allocations: 267.6 kB / 0.4908 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.4381, allocations: 9.406 MB / 0.5 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4396, allocations: 92.08 kB / 0.5001 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4397, allocations: 51.98 kB / 0.5001 GB, free: 6.895 MB / 414.1 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.001419/0.4411, allocations: 0.7512 MB / 0.5009 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.4416, allocations: 214.6 kB / 0.5011 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.4466, allocations: 2.473 MB / 0.5035 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/0.4467, allocations: 12 kB / 0.5035 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.4467, allocations: 15.88 kB / 0.5035 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.4467, allocations: 7.969 kB / 0.5035 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.457, allocations: 4.898 MB / 0.5083 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.457, allocations: 4 kB / 0.5083 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.4581, allocations: 215.9 kB / 0.5085 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.46, allocations: 0.658 MB / 0.5091 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.4601, allocations: 27.98 kB / 0.5092 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4706, allocations: 8.408 MB / 0.5174 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.4706, allocations: 12.03 kB / 0.5174 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006706/0.4773, allocations: 3.533 MB / 0.5208 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.4785, allocations: 378.5 kB / 0.5212 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/0.4789, allocations: 24 kB / 0.5212 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4799, allocations: 87.89 kB / 0.5213 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/0.4802, allocations: 112.7 kB / 0.5214 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/0.4803, allocations: 39.97 kB / 0.5215 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002376/0.4827, allocations: 1.54 MB / 0.523 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4827, allocations: 0 / 0.523 GB, free: 14.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001971/0.4846, allocations: 0.5272 MB / 0.5235 GB, free: 14.44 MB / 446.1 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.001688/0.4863, allocations: 451.7 kB / 0.5239 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004732/0.4911, allocations: 2.302 MB / 0.5262 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.4911, allocations: 0 / 0.5262 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.4939, allocations: 1.471 MB / 0.5276 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.4964, allocations: 454 kB / 0.528 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/0.5062, allocations: 5.292 MB / 0.5332 GB, free: 4.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.5081, allocations: 1.947 MB / 0.5351 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/0.5087, allocations: 143.4 kB / 0.5352 GB, free: 2.375 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5087, allocations: 0 / 0.5352 GB, free: 2.375 MB / 446.1 MB Notification: Performance of Templates: time 0.2922/0.8009, allocations: 64.58 MB / 0.5983 GB, free: 48.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.729762070113793]