Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0008307/0.0008307, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0008825/0.0008825, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.9206/0.9206, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.8e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007183/0.007201, allocations: 8.941 MB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.01034, allocations: 2.898 MB / 284.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.01078, allocations: 55.62 kB / 284.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009879/0.01177, allocations: 0.5976 MB / 285.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.01289, allocations: 0.815 MB / 286.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.01327, allocations: 339.4 kB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.01482, allocations: 2.461 MB / 289 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008805/0.0157, allocations: 0.9814 MB / 290 MB, free: 248 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.11/0.1257, allocations: 1.61 MB / 291.6 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.1275, allocations: 1.273 MB / 292.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.1279, allocations: 281.8 kB / 293.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.1286, allocations: 378.1 kB / 293.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006225/0.1292, allocations: 0.8447 MB / 294.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009456/0.1301, allocations: 0.8826 MB / 295.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.1321, allocations: 2.053 MB / 297.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1321, allocations: 1.25 kB / 297.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1321, allocations: 1.219 kB / 297.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.49e-05/0.1322, allocations: 0 / 297.3 MB, free: 16.28 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003377/0.1355, allocations: 2.734 MB / 300 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1356, allocations: 9.922 kB / 300.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.1364, allocations: 452.6 kB / 300.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.1378, allocations: 1.293 MB / 301.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.1379, allocations: 140.4 kB / 301.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.1381, allocations: 184.1 kB / 302.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.14, allocations: 1.484 MB / 303.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.1401, allocations: 6.516 kB / 303.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.1402, allocations: 76.78 kB / 303.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.866e-05/0.1403, allocations: 89.81 kB / 303.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1414, allocations: 0.6602 MB / 304.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.1465, allocations: 6.133 MB / 310.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.1472, allocations: 0.5481 MB / 311.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.1479, allocations: 0.5103 MB / 311.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.148, allocations: 46.19 kB / 311.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1481, allocations: 48.39 kB / 311.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.255e-06/0.1481, allocations: 0 / 311.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003623/0.1517, allocations: 2.699 MB / 314.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1517, allocations: 60.41 kB / 314.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.1525, allocations: 1.106 MB / 315.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.1526, allocations: 41.7 kB / 315.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.1529, allocations: 1.018 MB / 316.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.153, allocations: 374.5 kB / 317 MB, free: 4.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.1532, allocations: 216.5 kB / 317.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.1533, allocations: 0.5316 MB / 317.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1536, allocations: 198.5 kB / 317.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.154, allocations: 0.6064 MB / 318.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.1547, allocations: 0.8962 MB / 319.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1547, allocations: 4 kB / 319.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001571/0.1563, allocations: 1.296 MB / 320.7 MB, free: 44 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1563, allocations: 12 kB / 320.7 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1563, allocations: 12.19 kB / 320.8 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.1575, allocations: 0.5313 MB / 321.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.1579, allocations: 230 kB / 321.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.1627, allocations: 5.819 MB / 327.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.1631, allocations: 84 kB / 327.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.1632, allocations: 47.98 kB / 327.5 MB, free: 9.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003537/0.1635, allocations: 224.1 kB / 327.7 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.1637, allocations: 179 kB / 327.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.165, allocations: 0.9578 MB / 328.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.165, allocations: 8 kB / 328.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.165, allocations: 4 kB / 328.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.165, allocations: 7.922 kB / 328.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.1681, allocations: 2.631 MB / 331.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1682, allocations: 7.938 kB / 331.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.1686, allocations: 179.1 kB / 331.6 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006064/0.1692, allocations: 288.5 kB / 331.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.1692, allocations: 27.97 kB / 332 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.1724, allocations: 6.246 MB / 338.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1724, allocations: 3.938 kB / 338.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.174, allocations: 1.377 MB / 339.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.1744, allocations: 259 kB / 339.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.1745, allocations: 24 kB / 339.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.1748, allocations: 67.92 kB / 339.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.175, allocations: 92.3 kB / 340 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.175, allocations: 27.98 kB / 340 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006268/0.1757, allocations: 0.6623 MB / 340.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1757, allocations: 0 / 340.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009288/0.1766, allocations: 431.9 kB / 341.1 MB, free: 11.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/0.1769, allocations: 188.7 kB / 341.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.1783, allocations: 1.31 MB / 342.6 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1783, allocations: 0 / 342.6 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.1792, allocations: 1.04 MB / 343.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.1801, allocations: 341.4 kB / 344 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.1839, allocations: 3.403 MB / 347.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1843, allocations: 0.5153 MB / 347.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.1847, allocations: 247 kB / 348.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.1849, allocations: 92.48 kB / 348.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1849, allocations: 0 / 348.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of Templates: time 0.02544/0.2103, allocations: 23.26 MB / 371.5 MB, free: 12.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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.390270233154297]