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.001006/0.001006, allocations: 91.5 kB / 21.19 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.0009343/0.0009343, 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.9548/0.9548, allocations: 177 MB / 204.8 MB, free: 5.613 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.703e-06/1.703e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.403e-05, allocations: 5.125 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008778/0.008802, allocations: 8.867 MB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.01194, allocations: 2.847 MB / 284.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.01236, allocations: 59.62 kB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.01335, allocations: 0.5937 MB / 285.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.01475, allocations: 0.78 MB / 286.1 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.01514, allocations: 331.5 kB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.0166, allocations: 2.322 MB / 288.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009134/0.01751, allocations: 0.9891 MB / 289.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1207/0.1382, allocations: 1.537 MB / 291.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.14, allocations: 1.205 MB / 292.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004509/0.1404, allocations: 268.4 kB / 292.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.1411, allocations: 356.3 kB / 293.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006388/0.1417, allocations: 0.8027 MB / 293.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008234/0.1426, allocations: 0.842 MB / 294.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.1447, allocations: 1.966 MB / 296.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1447, allocations: 3.234 kB / 296.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1447, allocations: 1.938 kB / 296.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.2e-05/0.1448, allocations: 0 / 296.7 MB, free: 16.6 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.003858/0.1486, allocations: 2.623 MB / 299.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1487, allocations: 13.11 kB / 299.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.1495, allocations: 416.6 kB / 299.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.151, allocations: 1.22 MB / 300.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.1511, allocations: 135.7 kB / 301.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.1513, allocations: 184.1 kB / 301.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.1533, allocations: 1.494 MB / 302.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.1533, allocations: 2.375 kB / 302.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.1535, allocations: 75.03 kB / 302.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.1535, allocations: 90.56 kB / 302.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1547, allocations: 0.6723 MB / 303.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.1597, allocations: 5.895 MB / 309.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.1604, allocations: 0.552 MB / 310 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.161, allocations: 464.8 kB / 310.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.1612, allocations: 49.53 kB / 310.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1612, allocations: 42.58 kB / 310.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.1612, allocations: 0 / 310.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004339/0.1655, allocations: 3.142 MB / 313.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.1655, allocations: 64.39 kB / 313.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/0.1662, allocations: 0.989 MB / 314.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.1663, allocations: 41.7 kB / 314.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.1666, allocations: 0.9662 MB / 315.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1667, allocations: 388.5 kB / 316.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.1669, allocations: 228.5 kB / 316.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.167, allocations: 0.5316 MB / 316.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1673, allocations: 206.1 kB / 317.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.1676, allocations: 0.6258 MB / 317.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.1684, allocations: 0.9265 MB / 318.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1684, allocations: 7.938 kB / 318.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001379/0.1698, allocations: 1.216 MB / 319.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1698, allocations: 11.38 kB / 319.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.1698, allocations: 11.98 kB / 319.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.1703, allocations: 259.2 kB / 320.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.1708, allocations: 273.2 kB / 320.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.1744, allocations: 6.547 MB / 327 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.1748, allocations: 79.88 kB / 327 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.1748, allocations: 51.98 kB / 327.1 MB, free: 9.555 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.0003068/0.1751, allocations: 237.5 kB / 327.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.1753, allocations: 169.3 kB / 327.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.1767, allocations: 1.042 MB / 328.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1767, allocations: 12 kB / 328.6 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1767, allocations: 4 kB / 328.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1767, allocations: 7.969 kB / 328.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.18, allocations: 2.766 MB / 331.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.18, allocations: 7.984 kB / 331.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.1804, allocations: 173.8 kB / 331.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006856/0.1811, allocations: 338.7 kB / 331.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.1811, allocations: 31.98 kB / 331.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.1852, allocations: 8.377 MB / 340.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1852, allocations: 7.656 kB / 340.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.187, allocations: 1.551 MB / 341.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.1874, allocations: 246.3 kB / 342 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.1875, allocations: 28 kB / 342.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.1878, allocations: 63.92 kB / 342.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.188, allocations: 96.23 kB / 342.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.188, allocations: 35.98 kB / 342.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005608/0.1886, allocations: 0.5929 MB / 342.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1886, allocations: 0 / 342.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009559/0.1895, allocations: 411.9 kB / 343.3 MB, free: 8.82 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%), (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.0002719/0.1898, allocations: 185.5 kB / 343.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.1913, allocations: 1.428 MB / 344.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1913, allocations: 0 / 344.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.1924, allocations: 1.263 MB / 346.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.1933, allocations: 337.7 kB / 346.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.1975, allocations: 3.358 MB / 349.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1979, allocations: 499.5 kB / 350.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.1983, allocations: 230.7 kB / 350.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.1985, allocations: 92.48 kB / 350.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1985, allocations: 0 / 350.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of Templates: time 0.02401/0.2225, allocations: 21.29 MB / 371.9 MB, free: 12.37 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.464849144220352]