Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001246/0.001246, allocations: 78.28 kB / 21.42 MB, free: 3.074 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.001114/0.001114, allocations: 151.4 kB / 24.81 MB, free: 8.891 MB / 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.9847/0.9847, allocations: 173.3 MB / 201.4 MB, free: 9.207 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.362e-05, allocations: 6.312 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01466/0.01468, allocations: 12.3 MB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.02158, allocations: 4.146 MB / 284.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.02363, allocations: 95.44 kB / 285 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.02574, allocations: 0.9704 MB / 285.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.03147, allocations: 1.343 MB / 287.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.03375, allocations: 0.8382 MB / 288.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1183/0.152, allocations: 4.047 MB / 292.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.1544, allocations: 1.723 MB / 293.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.1581, allocations: 2.883 MB / 296.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.1607, allocations: 1.898 MB / 298.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009904/0.1617, allocations: 0.4929 MB / 299.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.1629, allocations: 0.6878 MB / 299.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.1636, allocations: 1.129 MB / 301 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.1655, allocations: 1.413 MB / 302.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.1683, allocations: 3.355 MB / 305.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1683, allocations: 0 / 305.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1683, allocations: 0 / 305.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.1684, allocations: 3.5 kB / 305.8 MB, free: 13.22 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.004539/0.1729, allocations: 4.4 MB / 310.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1729, allocations: 10.52 kB / 310.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.1751, allocations: 1.144 MB / 311.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.177, allocations: 2.161 MB / 313.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/0.1771, allocations: 245.7 kB / 313.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.1774, allocations: 313 kB / 314 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.1796, allocations: 2.323 MB / 316.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.1796, allocations: 4.625 kB / 316.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.1798, allocations: 130.5 kB / 316.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-05/0.1799, allocations: 150.3 kB / 316.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1811, allocations: 0.9155 MB / 317.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009091/0.1902, allocations: 10.25 MB / 327.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.1924, allocations: 1.814 MB / 329.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1931, allocations: 0.6287 MB / 330.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002781/0.1959, allocations: 2.32 MB / 332.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1959, allocations: 51.98 kB / 332.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.335e-06/0.1959, allocations: 4 kB / 332.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.003978/0.1999, allocations: 2.605 MB / 335.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1999, allocations: 68.39 kB / 335.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.201, allocations: 1.287 MB / 336.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.201, allocations: 49.7 kB / 336.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.2018, allocations: 1.545 MB / 338.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.202, allocations: 462.6 kB / 338.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.2023, allocations: 312.6 kB / 338.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2024, allocations: 480.8 kB / 339.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.2027, allocations: 167.8 kB / 339.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.2032, allocations: 0.8754 MB / 340.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.2041, allocations: 1.153 MB / 341.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.2041, allocations: 7.984 kB / 341.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001442/0.2056, allocations: 1.277 MB / 342.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2056, allocations: 16.03 kB / 342.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.2056, allocations: 19.98 kB / 342.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/0.2061, allocations: 227 kB / 343.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.2067, allocations: 341.9 kB / 343.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.2099, allocations: 6.419 MB / 349.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.2106, allocations: 48 kB / 349.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.2107, allocations: 59.98 kB / 350 MB, free: 5.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006111/0.2113, allocations: 263.2 kB / 350.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.2115, allocations: 210.9 kB / 350.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2129, allocations: 1.095 MB / 351.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2129, allocations: 15.75 kB / 351.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2129, allocations: 11.98 kB / 351.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2129, allocations: 4.109 kB / 351.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.2163, allocations: 2.704 MB / 354.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2163, allocations: 4 kB / 354.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.2167, allocations: 155 kB / 354.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007111/0.2174, allocations: 388.4 kB / 354.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.2174, allocations: 35.98 kB / 354.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.223, allocations: 11.21 MB / 366 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.223, allocations: 5.219 kB / 366 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.2251, allocations: 1.49 MB / 367.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.2255, allocations: 282.7 kB / 367.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2256, allocations: 31.98 kB / 367.8 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.226, allocations: 48.11 kB / 367.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.2262, allocations: 115.9 kB / 368 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.2262, allocations: 27.98 kB / 368 MB, free: 3.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006507/0.2269, allocations: 0.691 MB / 368.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2269, allocations: 0 / 368.7 MB, free: 2.586 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001425/0.2283, allocations: 0.5312 MB / 369.3 MB, free: 2.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.2286, allocations: 169.7 kB / 369.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.2299, allocations: 1.369 MB / 370.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2299, allocations: 0 / 370.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2309, allocations: 1.445 MB / 372.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2319, allocations: 423.2 kB / 372.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.2379, allocations: 4.749 MB / 377.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.2385, allocations: 0.7834 MB / 378.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006026/0.2391, allocations: 226.3 kB / 378.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/0.2398, allocations: 477.9 kB / 378.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2398, allocations: 0 / 378.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of Templates: time 0.04396/0.2838, allocations: 26.42 MB / 405.3 MB, free: 14.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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.4342774250544608]