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.001001/0.001001, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001013/0.001013, allocations: 161 kB / 24.99 MB, free: 8.801 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 0.9739/0.9739, allocations: 177 MB / 205.2 MB, free: 5.598 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.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.984e-05, allocations: 5.125 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007521/0.00754, allocations: 8.82 MB / 281.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.01151, allocations: 2.839 MB / 284.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.01208, allocations: 67.56 kB / 284.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.01308, allocations: 0.586 MB / 285.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.01428, allocations: 0.78 MB / 286.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.01472, allocations: 331.5 kB / 286.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.01666, allocations: 2.322 MB / 288.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.01756, allocations: 0.9852 MB / 289.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1155/0.133, allocations: 1.546 MB / 291.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.1354, allocations: 1.2 MB / 292.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009105/0.1363, allocations: 269.2 kB / 292.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009759/0.1372, allocations: 358.7 kB / 293.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.1381, allocations: 0.8015 MB / 293.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.1399, allocations: 0.8454 MB / 294.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.1431, allocations: 1.966 MB / 296.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1431, allocations: 1.406 kB / 296.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1431, allocations: 1.156 kB / 296.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.1432, allocations: 0.5938 kB / 296.7 MB, free: 15.86 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.005152/0.1484, allocations: 2.623 MB / 299.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1484, allocations: 14.05 kB / 299.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.1494, allocations: 415.6 kB / 299.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.1512, allocations: 1.224 MB / 301 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.1512, allocations: 133.7 kB / 301.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.1515, allocations: 182 kB / 301.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.1538, allocations: 1.491 MB / 302.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.1538, allocations: 2.75 kB / 302.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.154, allocations: 75.06 kB / 302.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.768e-05/0.154, allocations: 92.77 kB / 302.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1555, allocations: 0.6711 MB / 303.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006279/0.1618, allocations: 5.888 MB / 309.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.1626, allocations: 0.5605 MB / 310.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.1633, allocations: 465.5 kB / 310.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.1634, allocations: 46.59 kB / 310.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1635, allocations: 49.28 kB / 310.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/0.1635, allocations: 0 / 310.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.005399/0.1689, allocations: 3.14 MB / 313.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1689, allocations: 60.41 kB / 313.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.1697, allocations: 0.9928 MB / 314.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.1698, allocations: 45.7 kB / 314.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.1701, allocations: 0.9613 MB / 315.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1703, allocations: 390.8 kB / 316.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.1705, allocations: 228.5 kB / 316.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.1705, allocations: 0.5277 MB / 316.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1709, allocations: 206.2 kB / 317.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.1713, allocations: 0.6289 MB / 317.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/0.1721, allocations: 0.9267 MB / 318.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1721, allocations: 7.938 kB / 318.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001513/0.1736, allocations: 1.214 MB / 319.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1736, allocations: 10.66 kB / 319.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1737, allocations: 8 kB / 319.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.1742, allocations: 263.1 kB / 320.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.1748, allocations: 266.7 kB / 320.4 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.1789, allocations: 6.559 MB / 327 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.1798, allocations: 79.91 kB / 327.1 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.1798, allocations: 55.98 kB / 327.1 MB, free: 9.48 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.0006181/0.1804, allocations: 230.8 kB / 327.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.1807, allocations: 167.2 kB / 327.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.1822, allocations: 1.044 MB / 328.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.1822, allocations: 12 kB / 328.6 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1822, allocations: 8.859 kB / 328.6 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1823, allocations: 7.969 kB / 328.6 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.1874, allocations: 2.761 MB / 331.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.1874, allocations: 4 kB / 331.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.1878, allocations: 174.8 kB / 331.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/0.1886, allocations: 345.1 kB / 331.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.1887, allocations: 28.55 kB / 331.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/0.1934, allocations: 8.382 MB / 340.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1934, allocations: 4 kB / 340.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.1956, allocations: 1.553 MB / 341.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.1961, allocations: 243 kB / 342.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1962, allocations: 28 kB / 342.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.1966, allocations: 67.92 kB / 342.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.1968, allocations: 96.42 kB / 342.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.1968, allocations: 35.98 kB / 342.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006842/0.1975, allocations: 0.5929 MB / 342.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.386e-06/0.1975, allocations: 0 / 342.9 MB, free: 9.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001269/0.1988, allocations: 407.9 kB / 343.3 MB, free: 8.75 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.0003095/0.1991, allocations: 190.3 kB / 343.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.2008, allocations: 1.423 MB / 344.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2008, allocations: 8 kB / 344.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.2019, allocations: 1.256 MB / 346.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.203, allocations: 337.6 kB / 346.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.2081, allocations: 3.352 MB / 349.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2086, allocations: 0.4912 MB / 350.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006498/0.2092, allocations: 237.1 kB / 350.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.2094, allocations: 92.48 kB / 350.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of SimCode: time 6.943e-06/0.2094, allocations: 0 / 350.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of Templates: time 0.02805/0.2375, allocations: 21.28 MB / 371.9 MB, free: 12.29 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.4249406838789582]