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.0015/0.0015, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001626/0.001626, allocations: 145.5 kB / 24.54 MB, free: 40 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 0.9285/0.9285, allocations: 173.4 MB / 201.1 MB, free: 8.48 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.583e-06/1.583e-06, allocations: 0 / 268 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.37e-05, allocations: 2.312 kB / 268 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009502/0.009526, allocations: 8.807 MB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.01298, allocations: 2.789 MB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.01346, allocations: 55.62 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.01444, allocations: 0.5938 MB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.0155, allocations: 0.7722 MB / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.01587, allocations: 331.4 kB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.01741, allocations: 2.306 MB / 283.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/0.0183, allocations: 0.993 MB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.01935, allocations: 1.528 MB / 286.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.02039, allocations: 1.2 MB / 287.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.02063, allocations: 268 kB / 287.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.02103, allocations: 363.7 kB / 288 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.02153, allocations: 0.8063 MB / 288.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.02212, allocations: 0.8419 MB / 289.6 MB, free: 372 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1272/0.1494, allocations: 1.943 MB / 291.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1494, allocations: 0 / 291.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1494, allocations: 0 / 291.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001074/0.1495, allocations: 0 / 291.6 MB, free: 18.73 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.00487/0.1544, allocations: 2.613 MB / 294.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1544, allocations: 11.08 kB / 294.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.1552, allocations: 412.7 kB / 294.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.157, allocations: 1.207 MB / 295.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1571, allocations: 134 kB / 295.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.1573, allocations: 183.7 kB / 296.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.1597, allocations: 1.488 MB / 297.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.1598, allocations: 5.906 kB / 297.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1599, allocations: 77.44 kB / 297.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.815e-05/0.16, allocations: 96.67 kB / 297.8 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.1616, allocations: 0.6664 MB / 298.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006371/0.1679, allocations: 5.89 MB / 304.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.1688, allocations: 0.5429 MB / 304.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.1694, allocations: 476.7 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.1696, allocations: 46.94 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1696, allocations: 46.23 kB / 305.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.1696, allocations: 2.516 kB / 305.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.005057/0.1747, allocations: 3.141 MB / 308.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1747, allocations: 67.62 kB / 308.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.1755, allocations: 0.9783 MB / 309.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.1756, allocations: 41.45 kB / 309.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.1759, allocations: 0.9645 MB / 310.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1761, allocations: 389.7 kB / 311 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.1763, allocations: 225.7 kB / 311.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.1764, allocations: 0.5342 MB / 311.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1767, allocations: 197.9 kB / 312 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.1771, allocations: 0.6228 MB / 312.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.178, allocations: 0.9287 MB / 313.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.178, allocations: 3.781 kB / 313.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00158/0.1795, allocations: 1.205 MB / 314.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1796, allocations: 19.89 kB / 314.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1796, allocations: 8 kB / 314.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.1801, allocations: 265.2 kB / 315 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.1807, allocations: 262.6 kB / 315.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.1837, allocations: 6.573 MB / 321.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.1841, allocations: 83.91 kB / 321.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.1842, allocations: 44 kB / 322 MB, free: 1.195 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.0003396/0.1845, allocations: 237.9 kB / 322.2 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1847, allocations: 163.2 kB / 322.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.186, allocations: 1.033 MB / 323.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.186, allocations: 12 kB / 323.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.186, allocations: 4 kB / 323.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.186, allocations: 3.984 kB / 323.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.1895, allocations: 2.767 MB / 326.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1895, allocations: 4 kB / 326.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.1899, allocations: 175 kB / 326.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007324/0.1906, allocations: 335 kB / 326.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.1907, allocations: 35.92 kB / 326.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/0.1953, allocations: 8.386 MB / 335.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1953, allocations: 7.656 kB / 335.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.1973, allocations: 1.543 MB / 336.7 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.1976, allocations: 251 kB / 336.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.1977, allocations: 24 kB / 336.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1981, allocations: 71.92 kB / 337 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.1982, allocations: 100.5 kB / 337.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.1983, allocations: 35.98 kB / 337.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006084/0.1989, allocations: 0.5847 MB / 337.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 337.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001136/0.2, allocations: 411.9 kB / 338.1 MB, free: 480 kB / 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%), (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.0002887/0.2003, allocations: 183.5 kB / 338.3 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.2019, allocations: 1.42 MB / 339.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2019, allocations: 4 kB / 339.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2029, allocations: 1.258 MB / 341 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009125/0.2038, allocations: 329.9 kB / 341.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.2082, allocations: 3.346 MB / 344.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.2087, allocations: 499.5 kB / 345.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000454/0.2091, allocations: 234.6 kB / 345.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2093, allocations: 88.48 kB / 345.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2093, allocations: 4 kB / 345.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of Templates: time 0.02558/0.2349, allocations: 21.18 MB / 366.6 MB, free: 4.121 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.354889336042106]