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.001234/0.001234, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002915, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.000996/0.000996, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009043/0.0019, allocations: 479.6 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9543/0.9543, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.042, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.713e-06/1.713e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.924e-05, allocations: 2.312 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.009571/0.00959, allocations: 9.529 MB / 254.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.01495, allocations: 3.82 MB / 258.6 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.0154, allocations: 63.62 kB / 258.7 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.01634, allocations: 0.6868 MB / 259.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.01747, allocations: 0.9469 MB / 260.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.01797, allocations: 486.8 kB / 260.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.01984, allocations: 2.774 MB / 263.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.0207, allocations: 1.105 MB / 264.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.02294, allocations: 2.187 MB / 266.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.02432, allocations: 1.348 MB / 268.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.02486, allocations: 296 kB / 268.5 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.02563, allocations: 0.5462 MB / 269 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.02617, allocations: 0.8766 MB / 269.9 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.0268, allocations: 0.803 MB / 270.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.02873, allocations: 2.312 MB / 273 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.02874, allocations: 3.984 kB / 273 MB, free: 1.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02874, allocations: 0 / 273 MB, free: 1.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.02879, allocations: 0 / 273 MB, free: 1.566 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.1228/0.1516, allocations: 3.501 MB / 276.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1516, allocations: 10.31 kB / 276.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.1525, allocations: 0.4918 MB / 277 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.1541, allocations: 1.212 MB / 278.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.1542, allocations: 153.9 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.1544, allocations: 208.5 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.1564, allocations: 1.564 MB / 280.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.1565, allocations: 9.766 kB / 280.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1566, allocations: 82.97 kB / 280.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-05/0.1567, allocations: 96.33 kB / 280.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009947/0.1577, allocations: 0.5995 MB / 280.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00617/0.1638, allocations: 4.897 MB / 285.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.1648, allocations: 0.7125 MB / 286.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.1654, allocations: 485.1 kB / 287 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.1656, allocations: 51.31 kB / 287.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1656, allocations: 49.44 kB / 287.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.564e-06/0.1656, allocations: 0 / 287.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004285/0.1699, allocations: 2.811 MB / 289.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.1699, allocations: 62.94 kB / 290 MB, free: 8.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.1707, allocations: 1.428 MB / 291.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.1708, allocations: 47.05 kB / 291.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.1711, allocations: 0.8595 MB / 292.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.1712, allocations: 469 kB / 292.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.1714, allocations: 233 kB / 293 MB, free: 7.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.1715, allocations: 363.8 kB / 293.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1717, allocations: 171.5 kB / 293.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.172, allocations: 423 kB / 293.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.1726, allocations: 0.7382 MB / 294.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1726, allocations: 3.438 kB / 294.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001246/0.1738, allocations: 1.062 MB / 295.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1739, allocations: 11.75 kB / 295.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1739, allocations: 4 kB / 295.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009066/0.1748, allocations: 0.5237 MB / 296.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.1753, allocations: 289.6 kB / 296.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.1784, allocations: 4.645 MB / 301.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.1788, allocations: 39.98 kB / 301.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.1788, allocations: 39.98 kB / 301.3 MB, free: 0.5898 MB / 266.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.0002963/0.1791, allocations: 186.2 kB / 301.5 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.1793, allocations: 151.8 kB / 301.6 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1805, allocations: 0.9966 MB / 302.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.1805, allocations: 16 kB / 302.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1806, allocations: 8 kB / 302.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1806, allocations: 7.969 kB / 302.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.1834, allocations: 2.272 MB / 304.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1834, allocations: 4 kB / 304.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.1839, allocations: 222.7 kB / 305.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.1842, allocations: 234.7 kB / 305.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000859/0.185, allocations: 475.6 kB / 305.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.1851, allocations: 35.98 kB / 305.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.1884, allocations: 5.401 MB / 311.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1884, allocations: 0 / 311.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.1899, allocations: 1.354 MB / 312.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1901, allocations: 31.97 kB / 312.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.1904, allocations: 43.92 kB / 312.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.1906, allocations: 112.3 kB / 312.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.1906, allocations: 29.55 kB / 312.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005183/0.1911, allocations: 0.6804 MB / 313.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1911, allocations: 0 / 313.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009684/0.1921, allocations: 0.5038 MB / 314 MB, free: 3.922 MB / 282.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.001194/0.1933, allocations: 0.5856 MB / 314.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.1947, allocations: 1.182 MB / 315.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.868e-05/0.1947, allocations: 31.88 kB / 315.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.1957, allocations: 0.9801 MB / 316.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.1976, allocations: 3.502 MB / 320.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.2113, allocations: 4.171 MB / 324.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.2118, allocations: 0.5786 MB / 325.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.2123, allocations: 213.5 kB / 325.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.213, allocations: 393.1 kB / 325.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.213, allocations: 0 / 325.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of Templates: time 0.03477/0.2477, allocations: 29.8 MB / 355.4 MB, free: 10.47 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7217428712174296]