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.001444/0.001444, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001441/0.001441, allocations: 172.6 kB / 24.92 MB, free: 8.727 MB / 18.57 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 0.9871/0.9871, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 2.495e-06/2.495e-06, allocations: 0 / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.642e-05, allocations: 2.312 kB / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0123/0.01233, allocations: 9.455 MB / 283 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008726/0.02105, allocations: 3.805 MB / 286.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.02244, allocations: 59.62 kB / 286.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.02431, allocations: 0.683 MB / 287.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.02726, allocations: 0.947 MB / 288.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.02818, allocations: 482.9 kB / 288.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1287/0.1568, allocations: 2.752 MB / 291.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.1586, allocations: 1.104 MB / 292.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.1619, allocations: 2.006 MB / 294.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.1641, allocations: 1.338 MB / 296.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006827/0.1648, allocations: 295.6 kB / 296.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1659, allocations: 0.5515 MB / 297 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008646/0.1667, allocations: 1.035 MB / 298 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.1682, allocations: 0.9697 MB / 299 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.1707, allocations: 2.473 MB / 301.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1707, allocations: 2.469 kB / 301.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1707, allocations: 0 / 301.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.758e-05/0.1708, allocations: 0 / 301.5 MB, free: 14.62 MB / 266.7 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.003068/0.1739, allocations: 2.961 MB / 304.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1739, allocations: 8.344 kB / 304.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007893/0.1747, allocations: 425.3 kB / 304.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1761, allocations: 1.195 MB / 306 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.1761, allocations: 150.8 kB / 306.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.1763, allocations: 203.5 kB / 306.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.178, allocations: 1.569 MB / 308 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.178, allocations: 11.17 kB / 308 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.1781, allocations: 79.88 kB / 308 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.019e-05/0.1782, allocations: 97.61 kB / 308.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.1791, allocations: 0.603 MB / 308.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.185, allocations: 4.868 MB / 313.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.1863, allocations: 0.7339 MB / 314.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007871/0.1871, allocations: 483.4 kB / 314.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.1873, allocations: 40.98 kB / 314.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1873, allocations: 47.56 kB / 314.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.096e-06/0.1873, allocations: 0 / 314.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005826/0.1931, allocations: 2.776 MB / 317.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1932, allocations: 64.72 kB / 317.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.1945, allocations: 1.414 MB / 319.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.1945, allocations: 45.7 kB / 319.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.195, allocations: 0.8574 MB / 320.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.1952, allocations: 475.6 kB / 320.5 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.1956, allocations: 224.8 kB / 320.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.1957, allocations: 374 kB / 321.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.196, allocations: 166.8 kB / 321.3 MB, free: 416 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.1965, allocations: 426.7 kB / 321.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1975, allocations: 0.7183 MB / 322.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1975, allocations: 0 / 322.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001992/0.1995, allocations: 1.059 MB / 323.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1995, allocations: 8 kB / 323.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1995, allocations: 8 kB / 323.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.201, allocations: 0.5249 MB / 324 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.2019, allocations: 270.4 kB / 324.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.2065, allocations: 4.631 MB / 328.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.2069, allocations: 43.98 kB / 328.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.207, allocations: 39.98 kB / 329 MB, free: 8.605 MB / 282.7 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.2073, allocations: 185.9 kB / 329.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.2075, allocations: 159.6 kB / 329.3 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.2087, allocations: 0.9982 MB / 330.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.2088, allocations: 16 kB / 330.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2088, allocations: 8 kB / 330.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2088, allocations: 3.984 kB / 330.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.2115, allocations: 2.272 MB / 332.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2115, allocations: 0 / 332.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.212, allocations: 209.8 kB / 332.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/0.2128, allocations: 475.4 kB / 333.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.2129, allocations: 35.98 kB / 333.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.2161, allocations: 5.399 MB / 338.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2161, allocations: 4 kB / 338.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.2176, allocations: 1.337 MB / 340.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.2179, allocations: 242.6 kB / 340.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.218, allocations: 31.94 kB / 340.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.2184, allocations: 43.97 kB / 340.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.2185, allocations: 100.8 kB / 340.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.2186, allocations: 27.98 kB / 340.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004946/0.2191, allocations: 0.6828 MB / 341.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0 / 341.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009902/0.2201, allocations: 0.5108 MB / 341.7 MB, free: 11.97 MB / 298.7 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.001099/0.2212, allocations: 0.5404 MB / 342.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2224, allocations: 1.164 MB / 343.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.2224, allocations: 20.5 kB / 343.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.2232, allocations: 0.9082 MB / 344.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.2241, allocations: 405.3 kB / 344.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.2281, allocations: 4.046 MB / 348.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2285, allocations: 0.5738 MB / 349.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.2289, allocations: 201.4 kB / 349.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.2295, allocations: 384.2 kB / 349.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2295, allocations: 0 / 349.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of Templates: time 0.03205/0.2616, allocations: 28.6 MB / 378.5 MB, free: 7.797 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.966834809165448]