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.001276/0.001276, allocations: 115.5 kB / 18.46 MB, free: 4.688 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.001386/0.001386, allocations: 212.3 kB / 21.42 MB, free: 1.738 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.00152/0.00152, allocations: 43.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 53.34 MB / 427.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01237/0.1203, allocations: 9.757 MB / 437.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.128, allocations: 3.771 MB / 441.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.1297, allocations: 59.62 kB / 441.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.1316, allocations: 0.7066 MB / 441.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.1344, allocations: 0.9167 MB / 442.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1356, allocations: 475.1 kB / 443.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.1389, allocations: 2.658 MB / 445.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.1407, allocations: 1.393 MB / 447.3 MB, free: 396 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2568/0.3976, allocations: 1.218 MB / 448.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.4004, allocations: 1.549 MB / 450 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007612/0.4011, allocations: 305.9 kB / 450.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.4027, allocations: 0.5794 MB / 450.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.4038, allocations: 1.03 MB / 451.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.406, allocations: 1.49 MB / 453.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007305/0.4133, allocations: 4.325 MB / 457.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4133, allocations: 0.5 kB / 457.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4133, allocations: 2 kB / 457.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001734/0.4135, allocations: 0.5 kB / 457.8 MB, free: 9.254 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.009809/0.4233, allocations: 3.266 MB / 461 MB, free: 7.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4233, allocations: 10.28 kB / 461 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.4248, allocations: 372.9 kB / 461.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.4282, allocations: 1.735 MB / 463.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.4284, allocations: 149.9 kB / 463.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.4287, allocations: 212.5 kB / 463.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.4339, allocations: 2.695 MB / 466.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.434, allocations: 10.27 kB / 466.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.4342, allocations: 85.2 kB / 466.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.4343, allocations: 91.94 kB / 466.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.4385, allocations: 2.279 MB / 468.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.4525, allocations: 8.164 MB / 476.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.4557, allocations: 1.548 MB / 478.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.4578, allocations: 1.019 MB / 479.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.4581, allocations: 126.2 kB / 479.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.4582, allocations: 44.97 kB / 479.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.105e-06/0.4582, allocations: 1.281 kB / 479.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01498/0.4731, allocations: 6.48 MB / 486 MB, free: 10.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.4732, allocations: 72.34 kB / 486.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.4773, allocations: 2.178 MB / 488.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.4776, allocations: 46.39 kB / 488.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.4786, allocations: 1.135 MB / 489.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.4791, allocations: 486.1 kB / 489.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.4795, allocations: 241.2 kB / 490.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4797, allocations: 356.6 kB / 490.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.481, allocations: 0.7625 MB / 491.3 MB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4825, allocations: 1.012 MB / 492.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.4857, allocations: 1.867 MB / 494.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4857, allocations: 0 / 494.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005942/0.4916, allocations: 2.757 MB / 496.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.4917, allocations: 11.98 kB / 496.9 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4917, allocations: 4 kB / 496.9 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.494, allocations: 0.7764 MB / 497.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4952, allocations: 276.2 kB / 498 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.5086, allocations: 9.593 MB / 0.4957 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5105, allocations: 99.95 kB / 0.4958 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5107, allocations: 47.98 kB / 0.4958 GB, free: 6.684 MB / 398.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.001845/0.5125, allocations: 0.7545 MB / 0.4965 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.5132, allocations: 216.5 kB / 0.4967 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.5184, allocations: 2.471 MB / 0.4992 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.5184, allocations: 16 kB / 0.4992 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5184, allocations: 6.875 kB / 0.4992 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.5185, allocations: 7.969 kB / 0.4992 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.5289, allocations: 4.926 MB / 0.504 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5289, allocations: 4 kB / 0.504 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.53, allocations: 211.9 kB / 0.5042 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.5319, allocations: 0.6563 MB / 0.5048 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.532, allocations: 31.98 kB / 0.5049 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.5422, allocations: 8.732 MB / 0.5134 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5422, allocations: 0 / 0.5134 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.549, allocations: 3.536 MB / 0.5169 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.5502, allocations: 459.4 kB / 0.5173 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.5505, allocations: 36 kB / 0.5173 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5515, allocations: 83.89 kB / 0.5174 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.5518, allocations: 103.6 kB / 0.5175 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5519, allocations: 39.98 kB / 0.5175 GB, free: 4 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002484/0.5544, allocations: 1.532 MB / 0.519 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5544, allocations: 0 / 0.519 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002257/0.5567, allocations: 0.5273 MB / 0.5196 GB, free: 13.92 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.00169/0.5584, allocations: 455 kB / 0.52 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004711/0.5631, allocations: 2.308 MB / 0.5222 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5631, allocations: 2.719 kB / 0.5223 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.5658, allocations: 1.545 MB / 0.5238 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.5685, allocations: 460 kB / 0.5242 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.578, allocations: 5.272 MB / 0.5293 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.5798, allocations: 1.932 MB / 0.5312 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/0.5805, allocations: 143.4 kB / 0.5314 GB, free: 1.898 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5805, allocations: 4 kB / 0.5314 GB, free: 1.895 MB / 430.1 MB Notification: Performance of Templates: time 0.08601/0.6666, allocations: 64.58 MB / 0.5944 GB, free: 1.359 MB / 494.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/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_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.854228726995643]