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.001382/0.001382, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001542/0.001542, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.468/1.468, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001968/0.001968, allocations: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2729, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01222/0.2851, allocations: 9.816 MB / 441.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007291/0.2924, allocations: 3.794 MB / 445.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.294, allocations: 47.81 kB / 445.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.2964, allocations: 0.7027 MB / 446.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.3, allocations: 0.9167 MB / 447.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.3019, allocations: 483.1 kB / 447.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005086/0.307, allocations: 2.654 MB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.3091, allocations: 1.112 MB / 451.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.3115, allocations: 1.211 MB / 452.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.3148, allocations: 1.549 MB / 454.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009996/0.3158, allocations: 308 kB / 454.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.3176, allocations: 0.5737 MB / 455.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.319, allocations: 1.04 MB / 456.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.3209, allocations: 1.489 MB / 457.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.3266, allocations: 4.316 MB / 462.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3266, allocations: 0 / 462.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3266, allocations: 0 / 462.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.356e-05/0.3267, allocations: 0 / 462.1 MB, free: 9.195 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.007127/0.3338, allocations: 3.268 MB / 465.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3338, allocations: 8.031 kB / 465.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.335, allocations: 374.9 kB / 465.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.3384, allocations: 1.738 MB / 467.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.3386, allocations: 152 kB / 467.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/0.339, allocations: 207.9 kB / 467.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.3441, allocations: 2.694 MB / 470.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/0.3441, allocations: 7.891 kB / 470.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.3443, allocations: 87.98 kB / 470.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.3444, allocations: 95.92 kB / 470.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.3487, allocations: 2.276 MB / 473 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.3633, allocations: 8.161 MB / 481.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.3664, allocations: 1.543 MB / 482.7 MB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.3685, allocations: 1.016 MB / 483.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.3688, allocations: 130 kB / 483.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.3689, allocations: 51.55 kB / 483.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.436e-06/0.3689, allocations: 0 / 483.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01519/0.3841, allocations: 6.484 MB / 490.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3841, allocations: 64.72 kB / 490.4 MB, free: 12.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.3876, allocations: 2.181 MB / 492.6 MB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.3878, allocations: 49.64 kB / 492.6 MB, free: 9.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009657/0.3888, allocations: 1.145 MB / 493.8 MB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.3893, allocations: 483.9 kB / 494.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.3897, allocations: 243.5 kB / 494.5 MB, free: 8.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3899, allocations: 361.8 kB / 494.8 MB, free: 7.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.3914, allocations: 0.7535 MB / 495.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.393, allocations: 1.013 MB / 496.6 MB, free: 5.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.3961, allocations: 1.865 MB / 498.5 MB, free: 3.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3961, allocations: 4 kB / 498.5 MB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005571/0.4017, allocations: 2.746 MB / 0.4895 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.4017, allocations: 8 kB / 0.4895 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4017, allocations: 12 kB / 0.4895 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.4039, allocations: 0.7814 MB / 0.4903 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4051, allocations: 267.6 kB / 0.4905 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.4186, allocations: 9.611 MB / 0.4999 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.4201, allocations: 95.89 kB / 0.5 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4202, allocations: 47.98 kB / 0.5 GB, free: 6.016 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.00144/0.4217, allocations: 0.755 MB / 0.5008 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/0.4222, allocations: 218.6 kB / 0.501 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.427, allocations: 2.481 MB / 0.5034 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.4271, allocations: 16 kB / 0.5034 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4271, allocations: 7.938 kB / 0.5034 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.4271, allocations: 3.984 kB / 0.5034 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009594/0.4367, allocations: 4.93 MB / 0.5083 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4367, allocations: 0 / 0.5083 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.4378, allocations: 219.8 kB / 0.5085 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.4397, allocations: 0.651 MB / 0.5091 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.4398, allocations: 35.97 kB / 0.5091 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.4505, allocations: 8.722 MB / 0.5176 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4505, allocations: 8 kB / 0.5177 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/0.4572, allocations: 3.525 MB / 0.5211 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.4585, allocations: 455.6 kB / 0.5215 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.4588, allocations: 31.98 kB / 0.5216 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.4598, allocations: 83.91 kB / 0.5216 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.4601, allocations: 104.7 kB / 0.5217 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.4602, allocations: 43.97 kB / 0.5218 GB, free: 15.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002307/0.4625, allocations: 1.532 MB / 0.5233 GB, free: 13.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4625, allocations: 0 / 0.5233 GB, free: 13.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001829/0.4643, allocations: 0.5313 MB / 0.5238 GB, free: 13.05 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.001617/0.4659, allocations: 459.8 kB / 0.5242 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.4707, allocations: 2.302 MB / 0.5265 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.4707, allocations: 0 / 0.5265 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.4735, allocations: 1.547 MB / 0.528 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.4758, allocations: 449.1 kB / 0.5284 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.4849, allocations: 5.233 MB / 0.5335 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.4868, allocations: 1.959 MB / 0.5355 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.488, allocations: 399.7 kB / 0.5358 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.4884, allocations: 131.4 kB / 0.536 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4884, allocations: 0 / 0.536 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of Templates: time 0.272/0.7604, allocations: 31.47 MB / 0.5667 GB, free: 80.73 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 -s cvode -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_2/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_2/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.858080088160932]