Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.042/1.042, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.806e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007484/0.007502, allocations: 8.819 MB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.0121, allocations: 2.781 MB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.01292, allocations: 59.62 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.01414, allocations: 0.5938 MB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.01585, allocations: 0.7683 MB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.01651, allocations: 331.4 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.01876, allocations: 2.306 MB / 283.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.02004, allocations: 0.9891 MB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.02229, allocations: 1.676 MB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.024, allocations: 1.154 MB / 287.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006519/0.02465, allocations: 260 kB / 287.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.02518, allocations: 347.8 kB / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005064/0.02569, allocations: 0.7673 MB / 288.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.02643, allocations: 0.8185 MB / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1311/0.1576, allocations: 1.914 MB / 291.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1576, allocations: 0.5 kB / 291.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1576, allocations: 0.625 kB / 291.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.287e-05/0.1576, allocations: 1.25 kB / 291.6 MB, free: 20.12 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.003839/0.1615, allocations: 2.571 MB / 294.1 MB, free: 19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1615, allocations: 10.48 kB / 294.2 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.1623, allocations: 407.9 kB / 294.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1638, allocations: 1.214 MB / 295.8 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.1639, allocations: 130.6 kB / 295.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.1641, allocations: 189.2 kB / 296.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.1664, allocations: 1.483 MB / 297.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.1664, allocations: 4.203 kB / 297.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.1665, allocations: 78.52 kB / 297.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-05/0.1666, allocations: 91.78 kB / 297.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.168, allocations: 0.6647 MB / 298.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005573/0.1736, allocations: 5.798 MB / 304.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.1744, allocations: 0.5779 MB / 304.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.175, allocations: 471.8 kB / 305.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.1751, allocations: 51.06 kB / 305.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1752, allocations: 45.92 kB / 305.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.284e-06/0.1752, allocations: 0 / 305.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004406/0.1796, allocations: 3.099 MB / 308.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1796, allocations: 63.88 kB / 308.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.1803, allocations: 0.9773 MB / 309.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.1804, allocations: 45.61 kB / 309.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.1807, allocations: 0.9586 MB / 310.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1809, allocations: 385.8 kB / 310.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.1811, allocations: 220.8 kB / 311.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.1812, allocations: 0.542 MB / 311.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.1815, allocations: 199.5 kB / 311.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.1819, allocations: 0.6182 MB / 312.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.1827, allocations: 0.9306 MB / 313.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.1827, allocations: 3.375 kB / 313.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001507/0.1842, allocations: 1.208 MB / 314.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1842, allocations: 8 kB / 314.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1842, allocations: 12 kB / 314.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.1848, allocations: 259.6 kB / 314.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.1853, allocations: 266 kB / 315.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.1879, allocations: 6.567 MB / 321.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.1883, allocations: 63.94 kB / 321.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.1883, allocations: 55.98 kB / 321.8 MB, free: 2.562 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.0003119/0.1886, allocations: 232.8 kB / 322 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.1888, allocations: 171.1 kB / 322.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.19, allocations: 1.017 MB / 323.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.19, allocations: 12 kB / 323.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.19, allocations: 7.984 kB / 323.2 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.19, allocations: 3.984 kB / 323.2 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.1931, allocations: 2.742 MB / 326 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.1931, allocations: 8.031 kB / 326 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.1935, allocations: 165.9 kB / 326.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006736/0.1942, allocations: 318 kB / 326.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.688e-05/0.1943, allocations: 31.98 kB / 326.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.1985, allocations: 8.298 MB / 334.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1985, allocations: 4 kB / 334.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.2004, allocations: 1.55 MB / 336.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.2007, allocations: 231 kB / 336.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.2008, allocations: 31.98 kB / 336.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.2011, allocations: 55.95 kB / 336.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2013, allocations: 100.5 kB / 336.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.2013, allocations: 35.98 kB / 336.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00055/0.2019, allocations: 0.5769 MB / 337.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 0 / 337.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009694/0.2028, allocations: 396 kB / 337.7 MB, free: 2.02 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.0002777/0.2031, allocations: 200.7 kB / 337.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.2046, allocations: 1.399 MB / 339.3 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2046, allocations: 8.062 kB / 339.3 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.2056, allocations: 1.235 MB / 340.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.2065, allocations: 332.2 kB / 340.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.211, allocations: 3.337 MB / 344.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2114, allocations: 499.5 kB / 344.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.2119, allocations: 234.7 kB / 344.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.2121, allocations: 92.48 kB / 345 MB, free: 10.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2121, allocations: 0 / 345 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Templates: time 0.02538/0.2375, allocations: 21.48 MB / 366.5 MB, free: 5.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4621831607073545]