Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001042/0.001042, 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.001087/0.001087, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.998/0.998, allocations: 177.1 MB / 205.3 MB, free: 5.477 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_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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 4 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.402e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01084/0.01087, allocations: 8.611 MB / 282 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.01537, allocations: 2.824 MB / 284.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008459/0.01621, allocations: 59.62 kB / 284.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.01741, allocations: 0.5937 MB / 285.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.01932, allocations: 0.7878 MB / 286.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.01989, allocations: 331.4 kB / 286.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.02181, allocations: 2.307 MB / 288.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.0229, allocations: 0.9968 MB / 289.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1093/0.1322, allocations: 1.681 MB / 291.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.1339, allocations: 1.157 MB / 292.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.1344, allocations: 260.2 kB / 293 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.1351, allocations: 353.9 kB / 293.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.1357, allocations: 0.7644 MB / 294.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.1369, allocations: 0.8246 MB / 294.9 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.139, allocations: 1.916 MB / 296.9 MB, free: 16.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.139, allocations: 0.8125 kB / 296.9 MB, free: 16.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.139, allocations: 0 / 296.9 MB, free: 16.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.403e-05/0.1391, allocations: 0 / 296.9 MB, free: 16.73 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.003333/0.1424, allocations: 2.516 MB / 299.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1425, allocations: 10.84 kB / 299.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.1431, allocations: 412.2 kB / 299.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1444, allocations: 1.157 MB / 300.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.1445, allocations: 136.5 kB / 301.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.1446, allocations: 184.5 kB / 301.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.1462, allocations: 1.371 MB / 302.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.1462, allocations: 2.531 kB / 302.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1463, allocations: 78.25 kB / 302.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-05/0.1464, allocations: 95.61 kB / 302.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.1472, allocations: 0.5251 MB / 303.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.1523, allocations: 5.71 MB / 309 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.1528, allocations: 0.5241 MB / 309.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.1533, allocations: 429.9 kB / 310 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.1534, allocations: 48.91 kB / 310 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1535, allocations: 43.77 kB / 310.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.294e-06/0.1535, allocations: 0 / 310.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003751/0.1572, allocations: 2.513 MB / 312.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.1572, allocations: 60.41 kB / 312.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.1578, allocations: 0.9579 MB / 313.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.1579, allocations: 45.7 kB / 313.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.1582, allocations: 0.9714 MB / 314.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1583, allocations: 394.8 kB / 315 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.1585, allocations: 229.5 kB / 315.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.1586, allocations: 0.5324 MB / 315.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1587, allocations: 158.5 kB / 315.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.159, allocations: 0.5758 MB / 316.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.1596, allocations: 0.8524 MB / 317.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1596, allocations: 4 kB / 317.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001108/0.1607, allocations: 1.092 MB / 318.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1607, allocations: 8 kB / 318.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1607, allocations: 12.5 kB / 318.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.1612, allocations: 253.8 kB / 318.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.1616, allocations: 245.2 kB / 318.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.1644, allocations: 6.394 MB / 325.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.1649, allocations: 51.75 kB / 325.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.1649, allocations: 39.98 kB / 325.4 MB, free: 12.32 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.0004738/0.1654, allocations: 226.6 kB / 325.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.1656, allocations: 167.2 kB / 325.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1667, allocations: 0.9305 MB / 326.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1668, allocations: 15.28 kB / 326.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1668, allocations: 4 kB / 326.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1668, allocations: 3.984 kB / 326.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.1702, allocations: 2.626 MB / 329.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1702, allocations: 8.453 kB / 329.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1705, allocations: 154.6 kB / 329.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.1712, allocations: 319 kB / 329.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.1712, allocations: 31.98 kB / 329.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.1754, allocations: 8.121 MB / 338 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.1754, allocations: 11.78 kB / 338 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1772, allocations: 1.401 MB / 339.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.1776, allocations: 216 kB / 339.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.1777, allocations: 27.94 kB / 339.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.178, allocations: 43.97 kB / 339.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.1781, allocations: 88.59 kB / 339.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.1782, allocations: 39.92 kB / 339.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005037/0.1787, allocations: 0.5416 MB / 340.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1787, allocations: 0 / 340.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001205/0.1799, allocations: 403.9 kB / 340.8 MB, free: 12.78 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.0002765/0.1802, allocations: 185.7 kB / 341 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.1815, allocations: 1.298 MB / 342.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1815, allocations: 0.625 kB / 342.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.1824, allocations: 1.158 MB / 343.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.1835, allocations: 332.2 kB / 343.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.1879, allocations: 3.303 MB / 347 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1883, allocations: 499.5 kB / 347.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004338/0.1887, allocations: 162.8 kB / 347.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/0.1893, allocations: 382 kB / 348.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1893, allocations: 0 / 348.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of Templates: time 0.03032/0.2196, allocations: 22.04 MB / 370.1 MB, free: 15.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.312124937772751]