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.001366/0.001366, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0015/0.0015, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9329/0.9329, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.262e-06/1.262e-06, allocations: 0 / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.015e-05, allocations: 5.969 kB / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007221/0.007241, allocations: 8.636 MB / 282.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.01184, allocations: 2.916 MB / 285 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.0126, allocations: 59.62 kB / 285.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.01376, allocations: 0.6093 MB / 285.7 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.01524, allocations: 0.7839 MB / 286.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.01575, allocations: 335.4 kB / 286.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.01747, allocations: 2.311 MB / 289.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.01866, allocations: 1.024 MB / 290.1 MB, free: 372 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1075/0.1262, allocations: 1.662 MB / 291.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.1279, allocations: 1.145 MB / 292.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005915/0.1285, allocations: 259.1 kB / 293.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.1292, allocations: 353 kB / 293.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.1298, allocations: 0.7641 MB / 294.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.131, allocations: 0.8219 MB / 295.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.1332, allocations: 1.923 MB / 297 MB, free: 16.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1332, allocations: 0.9375 kB / 297 MB, free: 16.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1332, allocations: 0 / 297 MB, free: 16.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.405e-05/0.1333, allocations: 0 / 297 MB, free: 16.63 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.003446/0.1368, allocations: 2.28 MB / 299.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1368, allocations: 10.25 kB / 299.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006605/0.1375, allocations: 336.4 kB / 299.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1386, allocations: 0.8919 MB / 300.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/0.1387, allocations: 143.7 kB / 300.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.1389, allocations: 178.9 kB / 300.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.1406, allocations: 1.388 MB / 302.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.1407, allocations: 6.266 kB / 302.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1408, allocations: 77.5 kB / 302.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.148e-05/0.1409, allocations: 91.73 kB / 302.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.1417, allocations: 0.5298 MB / 303 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.1459, allocations: 4.586 MB / 307.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.1464, allocations: 0.5376 MB / 308.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.1469, allocations: 401 kB / 308.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.147, allocations: 39.62 kB / 308.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.147, allocations: 49.28 kB / 308.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.026e-06/0.147, allocations: 2.766 kB / 308.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003835/0.1508, allocations: 2.523 MB / 311.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.1508, allocations: 64.41 kB / 311.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.1513, allocations: 0.8074 MB / 312 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.1513, allocations: 45.7 kB / 312 MB, free: 9.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1515, allocations: 0.7529 MB / 312.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1517, allocations: 380.6 kB / 313.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1518, allocations: 210.8 kB / 313.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.1519, allocations: 355.2 kB / 313.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1521, allocations: 145.4 kB / 313.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.1523, allocations: 442.2 kB / 314.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1528, allocations: 0.7265 MB / 315 MB, free: 6.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1528, allocations: 4 kB / 315 MB, free: 6.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000948/0.1538, allocations: 0.8906 MB / 315.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1538, allocations: 12.25 kB / 315.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1538, allocations: 12 kB / 315.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.1542, allocations: 247.3 kB / 316.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.1547, allocations: 237.2 kB / 316.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.1566, allocations: 4.663 MB / 321 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.157, allocations: 43.92 kB / 321.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.157, allocations: 44.03 kB / 321.1 MB, free: 0.6562 MB / 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.0003081/0.1573, allocations: 187.5 kB / 321.3 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.1575, allocations: 107.9 kB / 321.4 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/0.1584, allocations: 0.8109 MB / 322.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1584, allocations: 15.66 kB / 322.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1584, allocations: 4 kB / 322.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1584, allocations: 7.969 kB / 322.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.1609, allocations: 2.223 MB / 324.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1609, allocations: 4 kB / 324.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1613, allocations: 158 kB / 324.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.1619, allocations: 336.3 kB / 325 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.162, allocations: 31.98 kB / 325 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.165, allocations: 5.865 MB / 330.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.165, allocations: 4 kB / 330.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1663, allocations: 1.209 MB / 332.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.1665, allocations: 178.7 kB / 332.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1666, allocations: 31.98 kB / 332.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.1669, allocations: 39.98 kB / 332.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.1671, allocations: 91.86 kB / 332.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.1671, allocations: 27.98 kB / 332.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003235/0.1674, allocations: 397.8 kB / 332.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1674, allocations: 0 / 332.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000936/0.1684, allocations: 404 kB / 333.2 MB, free: 4.473 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.0002479/0.1686, allocations: 163.6 kB / 333.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.1697, allocations: 1.072 MB / 334.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/0.1697, allocations: 12.5 kB / 334.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007315/0.1704, allocations: 0.9119 MB / 335.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.1712, allocations: 339.8 kB / 335.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.1748, allocations: 3.131 MB / 338.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1752, allocations: 439.5 kB / 339.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.1755, allocations: 158.8 kB / 339.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.176, allocations: 337.1 kB / 339.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.176, allocations: 4 kB / 339.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of Templates: time 0.02566/0.2017, allocations: 21.95 MB / 361.7 MB, free: 8.348 MB / 314.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.2010369556955993]