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.001024/0.001024, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002622, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001038/0.001038, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002234, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9658/0.9658, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08383/1.05, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.413e-06/1.413e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.268e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01016/0.01017, allocations: 13.05 MB / 258.3 MB, free: 432 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006124/0.01629, allocations: 4.616 MB / 262.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.01709, allocations: 103.4 kB / 263 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.0187, allocations: 1.013 MB / 264 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.02048, allocations: 1.324 MB / 265.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.02149, allocations: 0.8804 MB / 266.2 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.02396, allocations: 4.147 MB / 270.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.02565, allocations: 1.773 MB / 272.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1112/0.1369, allocations: 3.125 MB / 275.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.1398, allocations: 1.912 MB / 277.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.1409, allocations: 0.4927 MB / 277.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1424, allocations: 0.7109 MB / 278.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007694/0.1431, allocations: 0.9131 MB / 279.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.1447, allocations: 1.184 MB / 280.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.1484, allocations: 3.208 MB / 283.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1484, allocations: 0 / 283.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1484, allocations: 0 / 283.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.1484, allocations: 0.5 kB / 283.7 MB, free: 4.277 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.005635/0.1541, allocations: 4.957 MB / 288.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.238e-05/0.1541, allocations: 14.16 kB / 288.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.1564, allocations: 1.086 MB / 289.7 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.1582, allocations: 1.458 MB / 291.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.1583, allocations: 233.1 kB / 291.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1585, allocations: 318.2 kB / 291.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.1608, allocations: 2.381 MB / 294.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.1609, allocations: 4.266 kB / 294.1 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.1611, allocations: 126.5 kB / 294.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.674e-05/0.1612, allocations: 149.5 kB / 294.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.1625, allocations: 0.9224 MB / 295.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008217/0.1707, allocations: 8.118 MB / 303.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.1728, allocations: 1.719 MB / 305.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.1738, allocations: 0.8465 MB / 306 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.1739, allocations: 68.8 kB / 306 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1739, allocations: 52.56 kB / 306.1 MB, free: 9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=170): time 2.926e-06/0.1739, allocations: 0 / 306.1 MB, free: 9 MB / 282.7 MB Notification: Performance of matching and sorting (n=174): time 0.0051/0.179, allocations: 3.239 MB / 309.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1791, allocations: 69.41 kB / 309.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.18, allocations: 1.076 MB / 310.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.1801, allocations: 53.7 kB / 310.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.1805, allocations: 1.172 MB / 311.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.1808, allocations: 0.6189 MB / 312.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.1811, allocations: 314.1 kB / 312.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.1812, allocations: 305.1 kB / 312.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.1815, allocations: 214.7 kB / 313.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.182, allocations: 0.6678 MB / 313.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.1829, allocations: 1.1 MB / 314.9 MB, free: 316 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.1829, allocations: 7.938 kB / 314.9 MB, free: 308 kB / 282.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.001345/0.1842, allocations: 1.208 MB / 316.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1843, allocations: 12 kB / 316.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1843, allocations: 16 kB / 316.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.1848, allocations: 249.5 kB / 316.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.1857, allocations: 492.6 kB / 316.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.1887, allocations: 4.939 MB / 321.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.1891, allocations: 63.92 kB / 321.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.1892, allocations: 56 kB / 321.9 MB, free: 9.191 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (218): * Single equations (assignments): 214 * 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,9,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004819/0.1897, allocations: 228.5 kB / 322.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.1899, allocations: 170.2 kB / 322.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.1913, allocations: 1.173 MB / 323.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1913, allocations: 19.98 kB / 323.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1913, allocations: 8 kB / 323.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.1913, allocations: 7.969 kB / 323.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.1947, allocations: 2.969 MB / 326.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1947, allocations: 4 kB / 326.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.1952, allocations: 269.6 kB / 326.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.1956, allocations: 209.9 kB / 327 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/0.1962, allocations: 384.9 kB / 327.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.1963, allocations: 43.97 kB / 327.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.201, allocations: 8.352 MB / 335.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.201, allocations: 11.12 kB / 335.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.2026, allocations: 1.619 MB / 337.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.2028, allocations: 43.98 kB / 337.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2031, allocations: 59.97 kB / 337.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.2033, allocations: 136.6 kB / 337.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.2034, allocations: 39.98 kB / 337.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004066/0.2038, allocations: 0.5296 MB / 338.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2038, allocations: 0 / 338.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001237/0.205, allocations: 0.582 MB / 338.8 MB, free: 8.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (134): * Single equations (assignments): 129 * 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.0002459/0.2052, allocations: 168.3 kB / 338.9 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.2066, allocations: 1.326 MB / 340.2 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-05/0.2066, allocations: 25.25 kB / 340.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.2077, allocations: 1.348 MB / 341.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.2097, allocations: 4.316 MB / 345.9 MB, free: 404 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.2292, allocations: 5.059 MB / 351 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.2298, allocations: 0.6566 MB / 351.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.2306, allocations: 256 kB / 351.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/0.2314, allocations: 463.1 kB / 352.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2314, allocations: 0 / 352.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of Templates: time 0.03792/0.2693, allocations: 30.65 MB / 383 MB, free: 11.75 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3357498245313764]