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.0013/0.0013, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001366/0.001366, allocations: 163.2 kB / 24.91 MB, free: 8.77 MB / 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.8831/0.8831, allocations: 177 MB / 205.2 MB, free: 5.402 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.171e-05, allocations: 2.312 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009497/0.009508, allocations: 12.91 MB / 286.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1001/0.1097, allocations: 4.579 MB / 290.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.1116, allocations: 106.2 kB / 291 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.1135, allocations: 1.012 MB / 292 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.1159, allocations: 1.332 MB / 293.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1172, allocations: 0.8875 MB / 294.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.1203, allocations: 4.135 MB / 298.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.122, allocations: 1.77 MB / 300.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.1249, allocations: 2.899 MB / 303 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.1266, allocations: 1.92 MB / 305 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000537/0.1271, allocations: 0.4934 MB / 305.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.1279, allocations: 0.6984 MB / 306.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.1284, allocations: 1.143 MB / 307.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009173/0.1293, allocations: 1.409 MB / 308.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.1313, allocations: 3.385 MB / 312.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1313, allocations: 0 / 312.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1313, allocations: 0 / 312.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.1313, allocations: 0 / 312.1 MB, free: 8.059 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.004122/0.1355, allocations: 4.191 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.1355, allocations: 11.98 kB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.1377, allocations: 1.084 MB / 317.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.1392, allocations: 1.446 MB / 318.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.1393, allocations: 241.4 kB / 319 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.1396, allocations: 311.6 kB / 319.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.1418, allocations: 2.387 MB / 321.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.1418, allocations: 3.75 kB / 321.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.142, allocations: 128 kB / 321.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.1421, allocations: 150.3 kB / 322 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1436, allocations: 0.9361 MB / 323 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00909/0.1527, allocations: 8.073 MB / 331 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.1551, allocations: 1.711 MB / 332.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.1562, allocations: 0.8449 MB / 333.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/0.159, allocations: 1.963 MB / 335.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.159, allocations: 47.56 kB / 335.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.394e-06/0.159, allocations: 0 / 335.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.00393/0.1629, allocations: 2.5 MB / 338.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.163, allocations: 64.41 kB / 338.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.1638, allocations: 1.1 MB / 339.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.1638, allocations: 49.64 kB / 339.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/0.1645, allocations: 1.255 MB / 340.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.1647, allocations: 452.8 kB / 341 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.1649, allocations: 271.5 kB / 341.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.165, allocations: 316 kB / 341.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1652, allocations: 178.8 kB / 341.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.1657, allocations: 0.6523 MB / 342.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.1665, allocations: 0.9725 MB / 343.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1665, allocations: 4 kB / 343.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001211/0.1677, allocations: 1.075 MB / 344.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1677, allocations: 12 kB / 344.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.1677, allocations: 16 kB / 344.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/0.1682, allocations: 234.8 kB / 344.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.1688, allocations: 334.7 kB / 345 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.1716, allocations: 4.791 MB / 349.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.172, allocations: 64.06 kB / 349.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.1721, allocations: 56 kB / 349.9 MB, free: 3.016 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 (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.0004032/0.1725, allocations: 219.2 kB / 350.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1727, allocations: 135.9 kB / 350.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1739, allocations: 0.9833 MB / 351.3 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1739, allocations: 15.94 kB / 351.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1739, allocations: 8 kB / 351.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1739, allocations: 3.984 kB / 351.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.1763, allocations: 2.109 MB / 353.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1763, allocations: 4 kB / 353.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1767, allocations: 142.6 kB / 353.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006766/0.1774, allocations: 383.9 kB / 353.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.1774, allocations: 35.97 kB / 354 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/0.182, allocations: 8.321 MB / 362.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.182, allocations: 4 kB / 362.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.1834, allocations: 1.28 MB / 363.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.1837, allocations: 188.9 kB / 363.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.1838, allocations: 31.98 kB / 363.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.1842, allocations: 47.98 kB / 363.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1843, allocations: 108.7 kB / 363.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1843, allocations: 23.98 kB / 364 MB, free: 4.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004149/0.1847, allocations: 0.5395 MB / 364.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1847, allocations: 0 / 364.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001128/0.1859, allocations: 0.539 MB / 365 MB, free: 3.785 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 (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.0002319/0.1861, allocations: 153.3 kB / 365.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1872, allocations: 1.161 MB / 366.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.482e-05/0.1872, allocations: 21.81 kB / 366.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008719/0.1881, allocations: 1.123 MB / 367.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.1891, allocations: 436.5 kB / 367.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.1941, allocations: 4.632 MB / 372.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.1946, allocations: 0.6202 MB / 373.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.1951, allocations: 230.5 kB / 373.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.1957, allocations: 419.1 kB / 373.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1957, allocations: 0 / 373.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Templates: time 0.03302/0.2287, allocations: 27.17 MB / 401 MB, free: 160 kB / 346.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.3230297109112144]