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.001751/0.001751, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00214/0.00214, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.00324/0.00324, allocations: 67.89 kB / 378.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.3001, allocations: 53.41 MB / 431.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01236/0.3125, allocations: 8.608 MB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007759/0.3202, allocations: 3.568 MB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.322, allocations: 59.62 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.3242, allocations: 0.6596 MB / 444.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.3275, allocations: 0.9245 MB / 445.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.329, allocations: 479.1 kB / 446 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.3328, allocations: 2.658 MB / 448.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.3349, allocations: 1.073 MB / 449.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.337, allocations: 1.23 MB / 450.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.3398, allocations: 1.459 MB / 452.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008087/0.3406, allocations: 304 kB / 452.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.3423, allocations: 0.5503 MB / 453.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.3438, allocations: 1.048 MB / 454.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.3462, allocations: 1.201 MB / 455.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005901/0.3521, allocations: 4.332 MB / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3521, allocations: 0 / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3521, allocations: 0 / 459.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001246/0.3522, allocations: 4 kB / 459.8 MB, free: 10.2 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.006718/0.3589, allocations: 3.181 MB / 463 MB, free: 6.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.359, allocations: 15.98 kB / 463 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.3602, allocations: 378.8 kB / 463.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.3634, allocations: 1.662 MB / 465 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3636, allocations: 148.4 kB / 465.2 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.3639, allocations: 215.9 kB / 465.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/0.3688, allocations: 2.795 MB / 468.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/0.3688, allocations: 3.953 kB / 468.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.369, allocations: 88 kB / 468.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3692, allocations: 99.91 kB / 468.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.3736, allocations: 2.272 MB / 470.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.387, allocations: 7.064 MB / 477.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.39, allocations: 1.318 MB / 479 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/0.3921, allocations: 1.019 MB / 480.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.3923, allocations: 44.97 kB / 480.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3924, allocations: 51.5 kB / 480.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.346e-06/0.3924, allocations: 0 / 480.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01357/0.4059, allocations: 6.092 MB / 486.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.406, allocations: 72.7 kB / 486.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.409, allocations: 2.039 MB / 488.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.4092, allocations: 49.64 kB / 488.4 MB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.4102, allocations: 1.148 MB / 489.5 MB, free: 11.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.4107, allocations: 479.9 kB / 490 MB, free: 11.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.4111, allocations: 243.5 kB / 490.3 MB, free: 11.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4113, allocations: 361.9 kB / 490.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4127, allocations: 0.7574 MB / 491.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4144, allocations: 1.017 MB / 492.4 MB, free: 9.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.4176, allocations: 1.861 MB / 494.2 MB, free: 7.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4176, allocations: 4 kB / 494.2 MB, free: 7.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005721/0.4234, allocations: 2.743 MB / 497 MB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4234, allocations: 12.06 kB / 497 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4234, allocations: 4 kB / 497 MB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.4255, allocations: 0.7811 MB / 497.8 MB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.4266, allocations: 271.6 kB / 498.1 MB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.4397, allocations: 9.228 MB / 0.4954 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.441, allocations: 87.89 kB / 0.4955 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4412, allocations: 55.98 kB / 0.4955 GB, free: 9.691 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.001352/0.4425, allocations: 0.7394 MB / 0.4962 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/0.4429, allocations: 198.7 kB / 0.4964 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.4478, allocations: 2.484 MB / 0.4989 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/0.4478, allocations: 23.97 kB / 0.4989 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4479, allocations: 4 kB / 0.4989 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4479, allocations: 3.984 kB / 0.4989 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009126/0.457, allocations: 4.377 MB / 0.5032 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.457, allocations: 4 kB / 0.5032 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4581, allocations: 219.9 kB / 0.5034 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.4599, allocations: 0.6425 MB / 0.504 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.46, allocations: 43.97 kB / 0.5041 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.4705, allocations: 8.258 MB / 0.5121 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4705, allocations: 0 / 0.5121 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/0.4771, allocations: 3.525 MB / 0.5156 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.4782, allocations: 354.6 kB / 0.5159 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.4784, allocations: 27.98 kB / 0.5159 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.4794, allocations: 91.84 kB / 0.516 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.4797, allocations: 108.7 kB / 0.5161 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.4798, allocations: 39.98 kB / 0.5162 GB, free: 4.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.482, allocations: 1.423 MB / 0.5175 GB, free: 2.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.482, allocations: 0 / 0.5175 GB, free: 2.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001835/0.4838, allocations: 0.5273 MB / 0.5181 GB, free: 2.164 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.001755/0.4856, allocations: 478.1 kB / 0.5185 GB, free: 1.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.4902, allocations: 2.29 MB / 0.5207 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4902, allocations: 0 / 0.5207 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00286/0.4931, allocations: 1.479 MB / 0.5222 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.4953, allocations: 406.1 kB / 0.5226 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/0.5045, allocations: 5.204 MB / 0.5277 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.5063, allocations: 1.384 MB / 0.529 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.5075, allocations: 370.8 kB / 0.5294 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.5079, allocations: 131.3 kB / 0.5295 GB, free: 6.414 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5079, allocations: 4 kB / 0.5295 GB, free: 6.41 MB / 446.1 MB Notification: Performance of Templates: time 0.2455/0.7534, allocations: 32.42 MB / 0.5612 GB, free: 85.32 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/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_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: 6.813200436532497]