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.0008665/0.0008665, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009743/0.0009743, allocations: 167.3 kB / 24.99 MB, free: 8.203 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.605 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 1.302e-06/1.302e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.418e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007023/0.007038, allocations: 8.822 MB / 281.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.01088, allocations: 2.824 MB / 284.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.0113, allocations: 59.62 kB / 284.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.01213, allocations: 0.5976 MB / 285.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01323, allocations: 0.7801 MB / 286.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.01365, allocations: 327.4 kB / 286.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.01526, allocations: 2.318 MB / 288.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.0162, allocations: 0.993 MB / 289.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1147/0.1309, allocations: 1.534 MB / 291.3 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.133, allocations: 1.204 MB / 292.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006398/0.1336, allocations: 268.2 kB / 292.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.1343, allocations: 360.3 kB / 293.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006535/0.135, allocations: 0.8008 MB / 293.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.1364, allocations: 0.8447 MB / 294.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.1389, allocations: 1.961 MB / 296.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1389, allocations: 3.609 kB / 296.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.27e-06/0.1389, allocations: 1.141 kB / 296.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.186e-05/0.139, allocations: 0.625 kB / 296.7 MB, free: 16.38 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.004453/0.1435, allocations: 2.62 MB / 299.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1435, allocations: 9.891 kB / 299.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.1443, allocations: 408.2 kB / 299.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.1459, allocations: 1.215 MB / 301 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.146, allocations: 135.5 kB / 301.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.1462, allocations: 190.2 kB / 301.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.1483, allocations: 1.487 MB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.1484, allocations: 6.562 kB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1485, allocations: 75.19 kB / 302.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/0.1486, allocations: 91.41 kB / 303 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.15, allocations: 0.6673 MB / 303.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.1558, allocations: 5.893 MB / 309.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.1565, allocations: 0.5537 MB / 310.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.1571, allocations: 465 kB / 310.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.1573, allocations: 51.17 kB / 310.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1573, allocations: 45.45 kB / 310.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.1573, allocations: 0 / 310.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004921/0.1622, allocations: 3.143 MB / 313.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.1623, allocations: 63.97 kB / 313.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.1632, allocations: 0.9886 MB / 314.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.1633, allocations: 45.7 kB / 314.9 MB, free: 6.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.1636, allocations: 0.9592 MB / 315.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.1638, allocations: 391.8 kB / 316.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.164, allocations: 224.5 kB / 316.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.164, allocations: 0.5277 MB / 317 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1644, allocations: 202.5 kB / 317.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.1648, allocations: 0.6219 MB / 317.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.1657, allocations: 0.9362 MB / 318.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1657, allocations: 7.938 kB / 318.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001538/0.1672, allocations: 1.204 MB / 319.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1673, allocations: 12 kB / 319.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1673, allocations: 12 kB / 319.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.1679, allocations: 263.4 kB / 320.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.1684, allocations: 265.2 kB / 320.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.1721, allocations: 6.574 MB / 327 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.1728, allocations: 79.91 kB / 327.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.1728, allocations: 51.98 kB / 327.2 MB, free: 9.738 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.0005524/0.1734, allocations: 232.5 kB / 327.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.1736, allocations: 167.1 kB / 327.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.1751, allocations: 1.042 MB / 328.6 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1752, allocations: 12 kB / 328.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.1752, allocations: 4 kB / 328.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1752, allocations: 3.984 kB / 328.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.179, allocations: 2.765 MB / 331.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.179, allocations: 6.297 kB / 331.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.1795, allocations: 173.7 kB / 331.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/0.1803, allocations: 335.3 kB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.1804, allocations: 31.98 kB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005363/0.1858, allocations: 8.386 MB / 340.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1858, allocations: 4 kB / 340.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.1883, allocations: 1.549 MB / 341.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.1889, allocations: 239.1 kB / 342.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.189, allocations: 31.98 kB / 342.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.1896, allocations: 71.92 kB / 342.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.1898, allocations: 92.62 kB / 342.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.1899, allocations: 35.98 kB / 342.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000824/0.1907, allocations: 0.5927 MB / 342.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1907, allocations: 0 / 342.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001468/0.1922, allocations: 407.9 kB / 343.3 MB, free: 9.008 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.0003284/0.1925, allocations: 191.1 kB / 343.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.1945, allocations: 1.427 MB / 344.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1945, allocations: 3.469 kB / 344.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.196, allocations: 1.254 MB / 346.2 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.1972, allocations: 342.6 kB / 346.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.2029, allocations: 3.338 MB / 349.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.2034, allocations: 499.5 kB / 350.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.204, allocations: 234.7 kB / 350.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2043, allocations: 92.48 kB / 350.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of SimCode: time 2.003e-06/0.2043, allocations: 0 / 350.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of Templates: time 0.03257/0.2368, allocations: 21.3 MB / 371.9 MB, free: 12.55 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.4666494131088257]