Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001418/0.001418, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001571/0.001571, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.9453/0.9453, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.407e-05, allocations: 6.25 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01/0.01001, allocations: 13.37 MB / 286.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.105/0.115, allocations: 4.431 MB / 290.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1168, allocations: 101.4 kB / 290.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.1187, allocations: 0.9888 MB / 291.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.1209, allocations: 1.331 MB / 293.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1223, allocations: 0.8789 MB / 294 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003514/0.1258, allocations: 4.132 MB / 298.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.1276, allocations: 1.733 MB / 299.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.1304, allocations: 2.897 MB / 302.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.1321, allocations: 1.9 MB / 304.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005496/0.1327, allocations: 0.4933 MB / 305.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008223/0.1335, allocations: 0.7032 MB / 305.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.134, allocations: 1.138 MB / 307 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008959/0.1349, allocations: 1.416 MB / 308.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1369, allocations: 3.386 MB / 311.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1369, allocations: 4 kB / 311.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1369, allocations: 0 / 311.8 MB, free: 7.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.137, allocations: 7.312 kB / 311.8 MB, free: 7.781 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.004521/0.1415, allocations: 4.542 MB / 316.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1415, allocations: 19.97 kB / 316.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.1438, allocations: 1.211 MB / 317.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.1456, allocations: 2.288 MB / 319.9 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.1457, allocations: 238 kB / 320.1 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.146, allocations: 315 kB / 320.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.1491, allocations: 2.533 MB / 323 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.1492, allocations: 8 kB / 323 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1493, allocations: 127.9 kB / 323.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/0.1494, allocations: 154.3 kB / 323.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.1516, allocations: 1.188 MB / 324.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009211/0.1608, allocations: 10.33 MB / 334.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.1635, allocations: 2.048 MB / 336.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.1648, allocations: 0.9718 MB / 337.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002878/0.1677, allocations: 2.562 MB / 340.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1677, allocations: 46.39 kB / 340.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 1.884e-06/0.1677, allocations: 0 / 340.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.004682/0.1724, allocations: 3.286 MB / 343.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1724, allocations: 64.41 kB / 343.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1736, allocations: 1.35 MB / 345.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.1736, allocations: 45.7 kB / 345.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.1743, allocations: 1.547 MB / 346.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.1745, allocations: 466.7 kB / 347.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.1748, allocations: 308.4 kB / 347.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.1749, allocations: 480.7 kB / 347.9 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.1753, allocations: 227.8 kB / 348.1 MB, free: 4.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.176, allocations: 0.9252 MB / 349.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1771, allocations: 1.256 MB / 350.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1771, allocations: 4 kB / 350.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001677/0.1788, allocations: 1.466 MB / 351.8 MB, free: 68 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1788, allocations: 16 kB / 351.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1788, allocations: 12 kB / 351.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.1793, allocations: 264 kB / 352.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.18, allocations: 342.2 kB / 352.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.1832, allocations: 6.753 MB / 359.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.1836, allocations: 63.92 kB / 359.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.1837, allocations: 72 kB / 359.3 MB, free: 8.223 MB / 314.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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003944/0.1841, allocations: 260.2 kB / 359.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.1843, allocations: 210.9 kB / 359.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.1859, allocations: 1.24 MB / 361 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1859, allocations: 15.98 kB / 361 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.1859, allocations: 8 kB / 361 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.1859, allocations: 11.97 kB / 361 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/0.1895, allocations: 3.39 MB / 364.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1895, allocations: 3.938 kB / 364.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.1899, allocations: 160 kB / 364.6 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007896/0.1907, allocations: 433 kB / 365 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.1907, allocations: 35.98 kB / 365 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00585/0.1966, allocations: 11.65 MB / 376.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1966, allocations: 4 kB / 376.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1986, allocations: 1.677 MB / 378.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.1989, allocations: 302.7 kB / 378.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.1991, allocations: 35.98 kB / 378.7 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.1995, allocations: 63.95 kB / 378.8 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.1996, allocations: 104.7 kB / 378.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.1997, allocations: 36 kB / 378.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007414/0.2004, allocations: 0.7676 MB / 379.7 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2004, allocations: 0 / 379.7 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001182/0.2016, allocations: 0.5468 MB / 380.2 MB, free: 2.516 MB / 330.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 (83): * Single equations (assignments): 78 * 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,8,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.0002421/0.2018, allocations: 164.3 kB / 380.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.2033, allocations: 1.489 MB / 381.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2033, allocations: 0 / 381.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.2045, allocations: 1.503 MB / 383.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2055, allocations: 426.7 kB / 383.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.2108, allocations: 4.819 MB / 388.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.2116, allocations: 0.7724 MB / 389.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009359/0.2126, allocations: 318.3 kB / 389.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.2129, allocations: 116.5 kB / 389.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2129, allocations: 0 / 389.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of Templates: time 0.03186/0.2447, allocations: 26.66 MB / 416.5 MB, free: 14.46 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4498268896713853]