Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9259/0.9259, allocations: 173.3 MB / 201.1 MB, free: 8.941 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 268 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.202e-05, allocations: 2.312 kB / 268 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01176/0.01178, allocations: 9.582 MB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.01797, allocations: 3.514 MB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.01891, allocations: 59.62 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.02064, allocations: 0.6559 MB / 281.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.02273, allocations: 0.916 MB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.02378, allocations: 467 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.02657, allocations: 2.731 MB / 286 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.02805, allocations: 1.077 MB / 287 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.03009, allocations: 1.777 MB / 288.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1273/0.1574, allocations: 1.403 MB / 290.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009414/0.1584, allocations: 304.2 kB / 290.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1597, allocations: 0.5465 MB / 291.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.1606, allocations: 1.079 MB / 292.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1618, allocations: 1.005 MB / 293.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.1646, allocations: 2.495 MB / 295.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1646, allocations: 2.156 kB / 295.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1646, allocations: 0 / 295.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.1646, allocations: 0.6562 kB / 295.6 MB, free: 17.67 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.004189/0.1688, allocations: 3.329 MB / 299 MB, free: 16.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1688, allocations: 9.547 kB / 299 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.1696, allocations: 0.4951 MB / 299.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.1714, allocations: 1.531 MB / 301 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1715, allocations: 153.5 kB / 301.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.1717, allocations: 206.9 kB / 301.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.174, allocations: 1.673 MB / 303 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.174, allocations: 14.48 kB / 303 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.1742, allocations: 77.66 kB / 303.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/0.1742, allocations: 97.81 kB / 303.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.1756, allocations: 0.7721 MB / 304 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.1815, allocations: 6.706 MB / 310.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1827, allocations: 0.7729 MB / 311.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.1834, allocations: 0.574 MB / 312 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.1836, allocations: 54.95 kB / 312.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1836, allocations: 51.64 kB / 312.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.384e-06/0.1836, allocations: 0 / 312.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005218/0.1888, allocations: 3.679 MB / 315.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1889, allocations: 68.72 kB / 315.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.1902, allocations: 1.632 MB / 317.5 MB, free: 6.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.1902, allocations: 46.95 kB / 317.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.1907, allocations: 1.235 MB / 318.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.1909, allocations: 485.5 kB / 319.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.1911, allocations: 241.2 kB / 319.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1912, allocations: 0.5394 MB / 320 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.1916, allocations: 247.8 kB / 320.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.1921, allocations: 0.5892 MB / 320.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.193, allocations: 0.9162 MB / 321.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.193, allocations: 0 / 321.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00198/0.195, allocations: 1.515 MB / 323.3 MB, free: 264 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.195, allocations: 15.97 kB / 323.3 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.195, allocations: 5.25 kB / 323.3 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.1964, allocations: 0.5808 MB / 323.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.1969, allocations: 266 kB / 324.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.2025, allocations: 6.457 MB / 330.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.2031, allocations: 86.97 kB / 330.7 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.2032, allocations: 56.02 kB / 330.8 MB, free: 8.621 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005631/0.2038, allocations: 232.3 kB / 331 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.204, allocations: 238.7 kB / 331.2 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.2059, allocations: 1.338 MB / 332.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.2059, allocations: 12 kB / 332.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2059, allocations: 8 kB / 332.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2059, allocations: 3.984 kB / 332.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.2103, allocations: 3.244 MB / 335.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2103, allocations: 4 kB / 335.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.2109, allocations: 207.4 kB / 336 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009932/0.2119, allocations: 470.7 kB / 336.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/0.2119, allocations: 35.97 kB / 336.5 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/0.2164, allocations: 7.51 MB / 344 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2164, allocations: 0 / 344 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.2187, allocations: 1.807 MB / 345.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.2192, allocations: 338.5 kB / 346.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.2193, allocations: 28 kB / 346.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.2198, allocations: 79.91 kB / 346.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.2199, allocations: 112.3 kB / 346.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.2201, allocations: 35.98 kB / 346.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009543/0.2211, allocations: 0.9771 MB / 347.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2211, allocations: 4 kB / 347.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001413/0.2225, allocations: 0.5224 MB / 347.9 MB, free: 7.086 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.0009874/0.2235, allocations: 458.6 kB / 348.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.2254, allocations: 1.526 MB / 349.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2254, allocations: 0 / 349.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.2265, allocations: 1.206 MB / 351.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2276, allocations: 400.8 kB / 351.5 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.2339, allocations: 4.268 MB / 355.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.2346, allocations: 0.6408 MB / 356.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.2356, allocations: 306.6 kB / 356.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.236, allocations: 124.5 kB / 356.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.785e-06/0.236, allocations: 0 / 356.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Templates: time 0.03596/0.272, allocations: 29.63 MB / 386.5 MB, free: 0.9336 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.220318591222167]