Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001024/0.001024, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001172/0.001172, allocations: 166.7 kB / 24.82 MB, free: 9.32 MB / 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 1.029/1.029, allocations: 177 MB / 205.1 MB, free: 5.473 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_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.119e-05, allocations: 5.266 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008108/0.008129, allocations: 8.632 MB / 282 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.01265, allocations: 2.816 MB / 284.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.01326, allocations: 55.62 kB / 284.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01435, allocations: 0.6015 MB / 285.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.01567, allocations: 0.7839 MB / 286.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.01618, allocations: 331.4 kB / 286.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.01798, allocations: 2.326 MB / 288.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.01892, allocations: 0.9891 MB / 289.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1253/0.1442, allocations: 1.681 MB / 291.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.1459, allocations: 1.156 MB / 292.7 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.1465, allocations: 262.2 kB / 293 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007639/0.1472, allocations: 353.2 kB / 293.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007367/0.148, allocations: 0.7611 MB / 294.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.1494, allocations: 0.8238 MB / 294.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.1516, allocations: 1.925 MB / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1516, allocations: 1.625 kB / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1516, allocations: 0 / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.694e-05/0.1517, allocations: 0.9375 kB / 296.8 MB, free: 16.14 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00342/0.1551, allocations: 2.514 MB / 299.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1552, allocations: 14.33 kB / 299.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007258/0.1559, allocations: 416.1 kB / 299.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1572, allocations: 1.163 MB / 300.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.1573, allocations: 134.7 kB / 301 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.1575, allocations: 183.5 kB / 301.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.1592, allocations: 1.37 MB / 302.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.1593, allocations: 6.391 kB / 302.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.1594, allocations: 78.92 kB / 302.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/0.1595, allocations: 92.59 kB / 302.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/0.1604, allocations: 0.5234 MB / 303.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.1653, allocations: 5.719 MB / 309 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.1659, allocations: 0.5237 MB / 309.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.1664, allocations: 424.2 kB / 309.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.1665, allocations: 50.55 kB / 310 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1665, allocations: 46.45 kB / 310 MB, free: 10.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.124e-06/0.1665, allocations: 0 / 310 MB, free: 10.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003711/0.1702, allocations: 2.516 MB / 312.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.1702, allocations: 64.41 kB / 312.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.1709, allocations: 0.9619 MB / 313.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.1709, allocations: 41.7 kB / 313.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.1712, allocations: 0.9732 MB / 314.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.1714, allocations: 390.7 kB / 315 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.1716, allocations: 228.6 kB / 315.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.1717, allocations: 0.5401 MB / 315.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1718, allocations: 154.5 kB / 315.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.1721, allocations: 0.5802 MB / 316.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1727, allocations: 0.8393 MB / 317.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1727, allocations: 4 kB / 317.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001124/0.1738, allocations: 1.099 MB / 318.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1738, allocations: 12 kB / 318.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1738, allocations: 9.688 kB / 318.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.1743, allocations: 259.7 kB / 318.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.1748, allocations: 238.7 kB / 318.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.1777, allocations: 6.388 MB / 325.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.1781, allocations: 47.97 kB / 325.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.1782, allocations: 40.16 kB / 325.4 MB, free: 12.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.1785, allocations: 234.5 kB / 325.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.1787, allocations: 167.2 kB / 325.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1797, allocations: 0.9428 MB / 326.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1797, allocations: 8 kB / 326.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1797, allocations: 4 kB / 326.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1797, allocations: 7.969 kB / 326.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.1825, allocations: 2.623 MB / 329.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1825, allocations: 480 / 329.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.1828, allocations: 162.1 kB / 329.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.1834, allocations: 311.7 kB / 329.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.1834, allocations: 31.98 kB / 329.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003928/0.1873, allocations: 8.113 MB / 338 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1873, allocations: 15.3 kB / 338 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1888, allocations: 1.401 MB / 339.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.1891, allocations: 219 kB / 339.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1892, allocations: 31.92 kB / 339.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1895, allocations: 35.98 kB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.1896, allocations: 100.3 kB / 339.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.1897, allocations: 35.92 kB / 339.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006799/0.1903, allocations: 0.5461 MB / 340.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 340.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008998/0.1912, allocations: 396 kB / 340.7 MB, free: 12.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000251/0.1915, allocations: 183.3 kB / 340.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.1926, allocations: 1.307 MB / 342.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1926, allocations: 0.625 kB / 342.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008128/0.1934, allocations: 1.157 MB / 343.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008791/0.1943, allocations: 328.8 kB / 343.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.198, allocations: 3.311 MB / 347 MB, free: 6.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.1986, allocations: 499.5 kB / 347.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003948/0.199, allocations: 162.8 kB / 347.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.1996, allocations: 390 kB / 348 MB, free: 5.062 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1996, allocations: 0 / 348 MB, free: 5.062 MB / 298.7 MB Notification: Performance of Templates: time 0.03077/0.2303, allocations: 22.04 MB / 370.1 MB, free: 15.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.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.2620922178030014]