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.0009628/0.0009628, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001041/0.001041, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9477/0.9477, allocations: 177.1 MB / 205.3 MB, free: 5.523 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 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.24e-05, allocations: 8.703 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00743/0.007442, allocations: 9.392 MB / 282.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.01191, allocations: 3.673 MB / 286.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.01257, allocations: 59.62 kB / 286.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.0138, allocations: 0.6713 MB / 287.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.01536, allocations: 0.9509 MB / 288.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.01613, allocations: 486.9 kB / 288.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1128/0.1289, allocations: 2.746 MB / 291.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.1304, allocations: 1.077 MB / 292.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.133, allocations: 2.013 MB / 294.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.1352, allocations: 1.347 MB / 295.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007108/0.1359, allocations: 296.9 kB / 296.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1371, allocations: 0.546 MB / 296.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008735/0.138, allocations: 1.041 MB / 297.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.1395, allocations: 0.9696 MB / 298.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.1423, allocations: 2.474 MB / 301.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1423, allocations: 0.9375 kB / 301.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1423, allocations: 1.375 kB / 301.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.1424, allocations: 0 / 301.2 MB, free: 14.78 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.003709/0.1461, allocations: 3.237 MB / 304.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1462, allocations: 10.34 kB / 304.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.147, allocations: 0.5225 MB / 304.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1483, allocations: 1.501 MB / 306.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.1484, allocations: 153 kB / 306.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.1486, allocations: 207.2 kB / 306.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.1501, allocations: 1.539 MB / 308.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1502, allocations: 9.422 kB / 308.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.1503, allocations: 83.95 kB / 308.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/0.1504, allocations: 98.95 kB / 308.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.1512, allocations: 0.604 MB / 309.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.1565, allocations: 6.076 MB / 315.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/0.1574, allocations: 0.7164 MB / 315.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.158, allocations: 0.5045 MB / 316.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.1581, allocations: 60.61 kB / 316.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1581, allocations: 46.39 kB / 316.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.846e-06/0.1581, allocations: 0 / 316.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003812/0.1619, allocations: 2.899 MB / 319.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.162, allocations: 68.7 kB / 319.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/0.1628, allocations: 1.551 MB / 321 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.1629, allocations: 53.69 kB / 321.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.1636, allocations: 1.286 MB / 322.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.1638, allocations: 491.7 kB / 322.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.1641, allocations: 254.9 kB / 323.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1643, allocations: 0.5416 MB / 323.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1645, allocations: 183.8 kB / 323.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.1649, allocations: 0.5329 MB / 324.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.1657, allocations: 0.8208 MB / 325.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1657, allocations: 0 / 325.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001602/0.1673, allocations: 1.319 MB / 326.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1673, allocations: 12.61 kB / 326.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1673, allocations: 8 kB / 326.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.1683, allocations: 0.5366 MB / 327.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.1688, allocations: 239.1 kB / 327.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.1731, allocations: 6 MB / 333.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.1735, allocations: 43.98 kB / 333.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.1736, allocations: 44.02 kB / 333.4 MB, free: 4.23 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.0003992/0.174, allocations: 230.2 kB / 333.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.1742, allocations: 246.7 kB / 333.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.1757, allocations: 1.168 MB / 335 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.1757, allocations: 16 kB / 335 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1757, allocations: 4 kB / 335 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1757, allocations: 7.969 kB / 335 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.1788, allocations: 2.62 MB / 337.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1788, allocations: 3.188 kB / 337.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.1793, allocations: 181.8 kB / 337.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007843/0.1801, allocations: 418.4 kB / 338.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.1801, allocations: 31.98 kB / 338.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.1839, allocations: 7.227 MB / 345.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1839, allocations: 4 kB / 345.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.1857, allocations: 1.585 MB / 347.1 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.186, allocations: 299.4 kB / 347.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.1862, allocations: 35.94 kB / 347.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.1865, allocations: 43.97 kB / 347.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.1867, allocations: 107.7 kB / 347.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.1867, allocations: 35.58 kB / 347.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006536/0.1874, allocations: 0.8577 MB / 348.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1874, allocations: 0 / 348.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001174/0.1886, allocations: 0.5039 MB / 349 MB, free: 4.648 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.0009025/0.1895, allocations: 451.4 kB / 349.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.1908, allocations: 1.356 MB / 350.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1908, allocations: 4.5 kB / 350.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.1918, allocations: 1.124 MB / 351.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/0.1927, allocations: 398.2 kB / 352.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.1972, allocations: 4.193 MB / 356.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1976, allocations: 0.6402 MB / 357.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.1981, allocations: 209.3 kB / 357.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/0.1987, allocations: 441.9 kB / 357.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1987, allocations: 0 / 357.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Templates: time 0.0329/0.2316, allocations: 28.72 MB / 386.5 MB, free: 15.68 MB / 346.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 -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: 4.121764874085784]