Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001314/0.001314, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001489/0.001489, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.84 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 53.4 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01183/0.305, allocations: 8.623 MB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.3126, allocations: 3.556 MB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.3143, allocations: 59.62 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.3165, allocations: 0.6521 MB / 445.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.32, allocations: 0.9284 MB / 446.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3216, allocations: 475.1 kB / 446.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.3262, allocations: 2.67 MB / 449.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.328, allocations: 1.072 MB / 450.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.3304, allocations: 1.222 MB / 451.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.3333, allocations: 1.463 MB / 453.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005608/0.3339, allocations: 308 kB / 453.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.3352, allocations: 0.5542 MB / 454 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3364, allocations: 1.036 MB / 455 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.3383, allocations: 1.205 MB / 456.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.3445, allocations: 4.34 MB / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3445, allocations: 0 / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3446, allocations: 0 / 460.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.3447, allocations: 0 / 460.6 MB, free: 10.24 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.007919/0.3526, allocations: 3.185 MB / 463.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3527, allocations: 15.92 kB / 463.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3539, allocations: 382.8 kB / 464.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.3575, allocations: 1.654 MB / 465.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3577, allocations: 144.4 kB / 465.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.3581, allocations: 219.9 kB / 466.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/0.3631, allocations: 2.791 MB / 469 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.3632, allocations: 11.95 kB / 469 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.3634, allocations: 76 kB / 469 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.3635, allocations: 95.92 kB / 469.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004342/0.3679, allocations: 2.283 MB / 471.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.3821, allocations: 7.06 MB / 478.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.3851, allocations: 1.318 MB / 479.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.3871, allocations: 1.019 MB / 480.8 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3873, allocations: 48.89 kB / 480.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.3874, allocations: 51.56 kB / 480.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 5.781e-06/0.3874, allocations: 3.984 kB / 480.9 MB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01351/0.4009, allocations: 6.091 MB / 487 MB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4009, allocations: 68.72 kB / 487.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.4039, allocations: 2.035 MB / 489.1 MB, free: 13.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.4041, allocations: 49.7 kB / 489.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/0.4051, allocations: 1.148 MB / 490.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.4056, allocations: 487.9 kB / 490.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.406, allocations: 239.5 kB / 491 MB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4062, allocations: 361.9 kB / 491.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.4076, allocations: 0.7574 MB / 492.1 MB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4091, allocations: 1.013 MB / 493.1 MB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.4121, allocations: 1.861 MB / 495 MB, free: 7.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4121, allocations: 0 / 495 MB, free: 7.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005517/0.4177, allocations: 2.746 MB / 497.7 MB, free: 4.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4177, allocations: 11.98 kB / 497.8 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.4177, allocations: 4 kB / 497.8 MB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.4198, allocations: 0.7852 MB / 498.5 MB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.421, allocations: 271.5 kB / 498.8 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.434, allocations: 9.228 MB / 0.4961 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4355, allocations: 95.95 kB / 0.4962 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.4357, allocations: 51.98 kB / 0.4963 GB, free: 9.734 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.001515/0.4372, allocations: 0.7429 MB / 0.497 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/0.4378, allocations: 198.7 kB / 0.4972 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/0.4428, allocations: 2.48 MB / 0.4996 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-05/0.4428, allocations: 16 kB / 0.4996 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4428, allocations: 8 kB / 0.4996 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.4428, allocations: 7.969 kB / 0.4996 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009549/0.4524, allocations: 4.377 MB / 0.5039 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4524, allocations: 0 / 0.5039 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.4534, allocations: 215.7 kB / 0.5041 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.4553, allocations: 0.6591 MB / 0.5048 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4554, allocations: 35.95 kB / 0.5048 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.4656, allocations: 8.255 MB / 0.5129 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4656, allocations: 4.031 kB / 0.5129 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/0.4722, allocations: 3.517 MB / 0.5163 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.4734, allocations: 358.5 kB / 0.5166 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.4737, allocations: 35.94 kB / 0.5167 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/0.4747, allocations: 79.91 kB / 0.5167 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.4749, allocations: 108.7 kB / 0.5169 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.475, allocations: 39.97 kB / 0.5169 GB, free: 4.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.4772, allocations: 1.423 MB / 0.5183 GB, free: 2.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4772, allocations: 4 kB / 0.5183 GB, free: 2.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001934/0.4792, allocations: 0.5273 MB / 0.5188 GB, free: 2.211 MB / 430.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.001709/0.4809, allocations: 476.7 kB / 0.5193 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.4855, allocations: 2.295 MB / 0.5215 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.4855, allocations: 7.938 kB / 0.5215 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.4882, allocations: 1.467 MB / 0.5229 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.4903, allocations: 396 kB / 0.5233 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/0.4997, allocations: 5.277 MB / 0.5285 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.5014, allocations: 1.368 MB / 0.5298 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.5021, allocations: 135.4 kB / 0.5299 GB, free: 6.773 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5021, allocations: 0 / 0.5299 GB, free: 6.773 MB / 446.1 MB Notification: Performance of Templates: time 0.2673/0.7694, allocations: 64.4 MB / 0.5928 GB, free: 51.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.099835220724344]