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.0009549/0.0009549, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.002028, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002366, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9378/0.9378, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07791/1.016, allocations: 53.88 MB / 243.8 MB, free: 14.9 MB / 250.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.342e-06/1.342e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.297e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009671/0.009684, allocations: 8.73 MB / 253.8 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.01387, allocations: 2.94 MB / 256.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.01433, allocations: 59.62 kB / 256.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.01523, allocations: 0.6093 MB / 257.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01626, allocations: 0.7722 MB / 258.1 MB, free: 472 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.01664, allocations: 347.3 kB / 258.5 MB, free: 124 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.01801, allocations: 2.326 MB / 260.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.01881, allocations: 1.013 MB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.02021, allocations: 1.837 MB / 263.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.02108, allocations: 1.146 MB / 264.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.0213, allocations: 260 kB / 265.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.02174, allocations: 351.8 kB / 265.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.02224, allocations: 0.6312 MB / 266 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.02284, allocations: 0.6824 MB / 266.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.02427, allocations: 1.806 MB / 268.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.02429, allocations: 0 / 268.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02429, allocations: 0 / 268.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.02432, allocations: 0 / 268.5 MB, free: 5.984 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.002476/0.02679, allocations: 2.722 MB / 271.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.02682, allocations: 8.625 kB / 271.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.02732, allocations: 409.7 kB / 271.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.0283, allocations: 0.9069 MB / 272.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.02838, allocations: 131.9 kB / 272.7 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.02854, allocations: 176.4 kB / 272.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.02984, allocations: 1.406 MB / 274.3 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.02987, allocations: 7.953 kB / 274.3 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1082/0.1381, allocations: 75.25 kB / 274.3 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.1382, allocations: 86.08 kB / 274.4 MB, free: 20.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.1397, allocations: 0.531 MB / 275 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/0.1458, allocations: 4.603 MB / 279.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.1465, allocations: 0.5367 MB / 280.1 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.1471, allocations: 401.7 kB / 280.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.1472, allocations: 44.56 kB / 280.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1472, allocations: 44.44 kB / 280.6 MB, free: 18.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/0.1472, allocations: 1.312 kB / 280.6 MB, free: 18.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004755/0.152, allocations: 2.527 MB / 283.1 MB, free: 17.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.152, allocations: 63.72 kB / 283.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.1527, allocations: 0.8087 MB / 284 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.1527, allocations: 43.39 kB / 284 MB, free: 17.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.153, allocations: 0.7609 MB / 284.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1532, allocations: 380.1 kB / 285.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.1534, allocations: 209.8 kB / 285.4 MB, free: 16.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.1535, allocations: 360.1 kB / 285.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.1537, allocations: 146.7 kB / 285.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.154, allocations: 440.8 kB / 286.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.1545, allocations: 0.7292 MB / 287 MB, free: 15.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1546, allocations: 4.484 kB / 287 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00107/0.1556, allocations: 0.885 MB / 287.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1556, allocations: 8.625 kB / 287.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1557, allocations: 10.38 kB / 287.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.1561, allocations: 255.6 kB / 288.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.1566, allocations: 278.8 kB / 288.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.1587, allocations: 4.671 MB / 293.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.159, allocations: 43.64 kB / 293.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.1591, allocations: 38.89 kB / 293.2 MB, free: 11.7 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.000295/0.1594, allocations: 193.7 kB / 293.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.1595, allocations: 113.9 kB / 293.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.1605, allocations: 0.7969 MB / 294.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1605, allocations: 10.62 kB / 294.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1605, allocations: 3.812 kB / 294.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1606, allocations: 13.42 kB / 294.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.1631, allocations: 2.234 MB / 296.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1631, allocations: 6.078 kB / 296.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.1635, allocations: 175.7 kB / 296.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.1637, allocations: 173.9 kB / 296.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.1643, allocations: 339.2 kB / 297.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.1643, allocations: 31.92 kB / 297.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.1665, allocations: 5.875 MB / 303.1 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.1665, allocations: 7.938 kB / 303.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1676, allocations: 1.211 MB / 304.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.1677, allocations: 27.98 kB / 304.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.168, allocations: 43.92 kB / 304.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1681, allocations: 92.77 kB / 304.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.1681, allocations: 27.98 kB / 304.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.1684, allocations: 413.4 kB / 304.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1684, allocations: 0 / 304.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009091/0.1693, allocations: 403.9 kB / 305.3 MB, free: 1.273 MB / 266.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.0002722/0.1696, allocations: 167.5 kB / 305.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009536/0.1705, allocations: 1.07 MB / 306.6 MB, free: 12 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.907e-05/0.1706, allocations: 28.7 kB / 306.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.1714, allocations: 0.9014 MB / 307.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.1722, allocations: 427.9 kB / 307.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.1847, allocations: 3.247 MB / 311.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.185, allocations: 460.2 kB / 311.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.1854, allocations: 162.8 kB / 311.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.1859, allocations: 337 kB / 312.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1859, allocations: 0 / 312.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Templates: time 0.02947/0.2154, allocations: 22.83 MB / 334.9 MB, free: 3.93 MB / 298.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 -ignoreHideResult -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.0167897855862975]