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.0009825/0.0009825, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001042/0.001042, allocations: 159.8 kB / 24.91 MB, free: 8.719 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.936/0.936, allocations: 177 MB / 205.2 MB, free: 5.047 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.532e-06/1.532e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.863e-05, allocations: 9.266 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01026/0.01028, allocations: 8.644 MB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.01607, allocations: 2.924 MB / 285 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006897/0.01676, allocations: 59.62 kB / 285 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.01775, allocations: 0.6093 MB / 285.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.01903, allocations: 0.7839 MB / 286.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.01946, allocations: 331.4 kB / 286.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.02116, allocations: 2.318 MB / 289.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000912/0.02207, allocations: 1.013 MB / 290.1 MB, free: 248 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1117/0.1337, allocations: 1.672 MB / 291.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1355, allocations: 1.147 MB / 292.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005362/0.1361, allocations: 262.1 kB / 293.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.1367, allocations: 348.3 kB / 293.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005499/0.1373, allocations: 0.7633 MB / 294.3 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009124/0.1382, allocations: 0.8245 MB / 295.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.1401, allocations: 1.923 MB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1401, allocations: 1.594 kB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1401, allocations: 0 / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-05/0.1402, allocations: 0.5312 kB / 297 MB, free: 16.5 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.002829/0.143, allocations: 2.283 MB / 299.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.143, allocations: 14.47 kB / 299.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006198/0.1437, allocations: 341.2 kB / 299.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1448, allocations: 0.8937 MB / 300.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.1448, allocations: 136.2 kB / 300.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.145, allocations: 184.5 kB / 300.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1465, allocations: 1.392 MB / 302.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.1465, allocations: 10.55 kB / 302.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1466, allocations: 79.91 kB / 302.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/0.1467, allocations: 91.53 kB / 302.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/0.1475, allocations: 0.5265 MB / 302.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.1517, allocations: 4.594 MB / 307.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.1523, allocations: 0.5337 MB / 308.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.1527, allocations: 401.8 kB / 308.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.1529, allocations: 47.61 kB / 308.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1529, allocations: 42.5 kB / 308.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/0.1529, allocations: 0 / 308.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003871/0.1567, allocations: 2.523 MB / 311.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.1568, allocations: 60.41 kB / 311.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.1572, allocations: 0.8106 MB / 311.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.1572, allocations: 45.7 kB / 312 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1574, allocations: 0.7581 MB / 312.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1575, allocations: 377.5 kB / 313.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.1577, allocations: 207.4 kB / 313.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.1578, allocations: 361.3 kB / 313.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1579, allocations: 141.4 kB / 313.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1581, allocations: 448 kB / 314.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1586, allocations: 0.7159 MB / 315 MB, free: 6.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1586, allocations: 4 kB / 315 MB, free: 6.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009414/0.1596, allocations: 0.8995 MB / 315.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1596, allocations: 8 kB / 315.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1596, allocations: 8 kB / 315.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.16, allocations: 259.7 kB / 316.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.1605, allocations: 230.3 kB / 316.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.1624, allocations: 4.671 MB / 321 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.1628, allocations: 39.95 kB / 321.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.1629, allocations: 39.98 kB / 321.1 MB, free: 372 kB / 266.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.0003725/0.1632, allocations: 182.7 kB / 321.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1634, allocations: 115.5 kB / 321.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1644, allocations: 0.8031 MB / 322.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1644, allocations: 12 kB / 322.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1644, allocations: 8 kB / 322.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1644, allocations: 7.969 kB / 322.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.1678, allocations: 2.235 MB / 324.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.1678, allocations: 4 kB / 324.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.1684, allocations: 147 kB / 324.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/0.1693, allocations: 334.7 kB / 324.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.1694, allocations: 31.98 kB / 325 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/0.1738, allocations: 5.86 MB / 330.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.1738, allocations: 7.984 kB / 330.8 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.1758, allocations: 1.216 MB / 332 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.1762, allocations: 168.6 kB / 332.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1763, allocations: 35.92 kB / 332.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.1766, allocations: 39.98 kB / 332.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1768, allocations: 103.1 kB / 332.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.1768, allocations: 23.98 kB / 332.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003491/0.1771, allocations: 402.3 kB / 332.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1771, allocations: 0 / 332.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009927/0.1781, allocations: 404 kB / 333.2 MB, free: 4.168 MB / 282.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.0002432/0.1784, allocations: 169.8 kB / 333.4 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1795, allocations: 1.073 MB / 334.4 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.1795, allocations: 12.5 kB / 334.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.1804, allocations: 0.8928 MB / 335.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.1812, allocations: 336.1 kB / 335.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.1848, allocations: 3.142 MB / 338.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1851, allocations: 439.5 kB / 339.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.1855, allocations: 158.8 kB / 339.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.186, allocations: 345 kB / 339.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.186, allocations: 0 / 339.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Templates: time 0.0266/0.2126, allocations: 21.97 MB / 361.7 MB, free: 8.051 MB / 314.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.239892940968275]