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.001623/0.001623, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001498/0.001498, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+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 0.00174/0.00174, allocations: 52 kB / 378.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2778, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01359/0.2914, allocations: 8.621 MB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009198/0.3006, allocations: 3.549 MB / 443.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.3028, allocations: 63.62 kB / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.3056, allocations: 0.6556 MB / 444.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.3095, allocations: 0.9362 MB / 445.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.3114, allocations: 479.1 kB / 445.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.3157, allocations: 2.654 MB / 448.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.318, allocations: 1.12 MB / 449.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.3204, allocations: 1.23 MB / 450.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.3239, allocations: 1.553 MB / 452.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.3254, allocations: 304 kB / 452.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.3281, allocations: 0.5659 MB / 453.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00237/0.3305, allocations: 1.044 MB / 454.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.3338, allocations: 1.194 MB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00884/0.3426, allocations: 4.34 MB / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.3426, allocations: 0 / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3426, allocations: 0 / 459.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002144/0.3428, allocations: 0 / 459.9 MB, free: 10.29 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.01055/0.3534, allocations: 3.193 MB / 463.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3534, allocations: 16.03 kB / 463.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.3555, allocations: 370.9 kB / 463.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/0.3604, allocations: 1.669 MB / 465.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.3606, allocations: 152 kB / 465.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008032/0.3614, allocations: 200 kB / 465.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007078/0.3685, allocations: 2.799 MB / 468.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.3685, allocations: 11.89 kB / 468.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.3688, allocations: 87.98 kB / 468.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.3689, allocations: 95.92 kB / 468.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.3741, allocations: 2.268 MB / 470.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.3902, allocations: 7.064 MB / 477.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.3935, allocations: 1.313 MB / 479.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.3957, allocations: 1.024 MB / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.3959, allocations: 56.95 kB / 480.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.396, allocations: 47.5 kB / 480.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.048e-06/0.396, allocations: 0 / 480.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01554/0.4115, allocations: 6.085 MB / 486.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.4116, allocations: 68.66 kB / 486.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.4148, allocations: 2.035 MB / 488.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.4151, allocations: 49.7 kB / 488.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4162, allocations: 1.148 MB / 489.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.4167, allocations: 479.9 kB / 490.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.4172, allocations: 251.5 kB / 490.3 MB, free: 11.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4174, allocations: 357.9 kB / 490.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.4188, allocations: 0.7574 MB / 491.5 MB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4205, allocations: 1.014 MB / 492.5 MB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.4237, allocations: 1.865 MB / 494.3 MB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.4237, allocations: 11.88 kB / 494.3 MB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00584/0.4296, allocations: 2.731 MB / 497.1 MB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4296, allocations: 8 kB / 497.1 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4296, allocations: 8 kB / 497.1 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.4319, allocations: 0.7812 MB / 497.9 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.4332, allocations: 275.5 kB / 498.1 MB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.4469, allocations: 9.236 MB / 0.4955 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4483, allocations: 87.89 kB / 0.4956 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4484, allocations: 55.98 kB / 0.4956 GB, free: 9.758 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.001359/0.4498, allocations: 0.7473 MB / 0.4964 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.4503, allocations: 202.8 kB / 0.4965 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.4553, allocations: 2.468 MB / 0.499 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.4553, allocations: 16 kB / 0.499 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4553, allocations: 4 kB / 0.499 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.4553, allocations: 7.969 kB / 0.499 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/0.4649, allocations: 4.373 MB / 0.5033 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.4649, allocations: 8.156 kB / 0.5033 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.4661, allocations: 219.6 kB / 0.5035 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001999/0.4681, allocations: 0.6576 MB / 0.5041 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4682, allocations: 35.97 kB / 0.5041 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.4789, allocations: 8.259 MB / 0.5122 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4789, allocations: 0 / 0.5122 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/0.4861, allocations: 3.521 MB / 0.5156 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4873, allocations: 354.6 kB / 0.516 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.4876, allocations: 31.98 kB / 0.516 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.4886, allocations: 83.91 kB / 0.5161 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.4889, allocations: 112.7 kB / 0.5162 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.489, allocations: 43.98 kB / 0.5162 GB, free: 4.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002213/0.4912, allocations: 1.423 MB / 0.5176 GB, free: 2.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4912, allocations: 0 / 0.5176 GB, free: 2.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002031/0.4932, allocations: 0.5273 MB / 0.5182 GB, free: 2.23 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.001772/0.495, allocations: 491.9 kB / 0.5186 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.4996, allocations: 2.298 MB / 0.5209 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.4996, allocations: 5.25 kB / 0.5209 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.5023, allocations: 1.467 MB / 0.5223 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.5044, allocations: 391.8 kB / 0.5227 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.5133, allocations: 5.211 MB / 0.5278 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.515, allocations: 1.384 MB / 0.5291 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.5162, allocations: 370.8 kB / 0.5295 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.5166, allocations: 131.4 kB / 0.5296 GB, free: 6.508 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5166, allocations: 3.938 kB / 0.5296 GB, free: 6.504 MB / 446.1 MB Notification: Performance of Templates: time 0.2643/0.7809, allocations: 32.93 MB / 0.5618 GB, free: 85.17 MB / 446.1 MB " [Timeout remaining time 659] 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: 7.014577076770365]