Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.001008/0.001008, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009254/0.0009254, allocations: 160.5 kB / 24.56 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.8864/0.8864, allocations: 177 MB / 204.8 MB, free: 5.57 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.758e-05, allocations: 5.125 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01323/0.01326, allocations: 14.17 MB / 287.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1054/0.1187, allocations: 4.611 MB / 291.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.1207, allocations: 103.1 kB / 291.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.1232, allocations: 1.017 MB / 292.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.1269, allocations: 1.377 MB / 294.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1288, allocations: 0.9386 MB / 295.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004621/0.1334, allocations: 4.344 MB / 299.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.1357, allocations: 1.741 MB / 301.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.1395, allocations: 2.99 MB / 304.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.1421, allocations: 1.901 MB / 306.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009551/0.143, allocations: 0.5033 MB / 306.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.1443, allocations: 0.7125 MB / 307.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.1449, allocations: 1.151 MB / 308.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.1464, allocations: 1.457 MB / 309.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.1494, allocations: 3.458 MB / 313.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1494, allocations: 0 / 313.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1494, allocations: 0 / 313.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001277/0.1495, allocations: 4 kB / 313.4 MB, free: 7 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.005541/0.155, allocations: 4.648 MB / 318.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1551, allocations: 11.98 kB / 318.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.1575, allocations: 1.247 MB / 319.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.16, allocations: 2.344 MB / 321.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1601, allocations: 242.8 kB / 321.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.1604, allocations: 334.7 kB / 322.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.1641, allocations: 2.593 MB / 324.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.1642, allocations: 11.22 kB / 324.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.1644, allocations: 135.9 kB / 325 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.817e-05/0.1645, allocations: 150.4 kB / 325.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.1667, allocations: 1.223 MB / 326.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.1777, allocations: 11.08 MB / 337.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.1805, allocations: 2.002 MB / 339.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.1815, allocations: 0.7785 MB / 340.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/0.1844, allocations: 2.326 MB / 342.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1844, allocations: 50.69 kB / 342.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.685e-06/0.1844, allocations: 0 / 342.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.005564/0.19, allocations: 3.57 MB / 346.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.19, allocations: 64.72 kB / 346.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.1916, allocations: 1.426 MB / 347.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.1917, allocations: 49.7 kB / 347.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.1924, allocations: 1.588 MB / 349.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.1927, allocations: 0.497 MB / 349.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.193, allocations: 341.1 kB / 350.1 MB, free: 2.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1931, allocations: 480.7 kB / 350.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1936, allocations: 259.8 kB / 350.8 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.1943, allocations: 1.014 MB / 351.8 MB, free: 436 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.1958, allocations: 1.371 MB / 353.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.1958, allocations: 4 kB / 353.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00195/0.1977, allocations: 1.599 MB / 354.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1978, allocations: 16.03 kB / 354.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.1978, allocations: 16 kB / 354.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/0.1984, allocations: 317 kB / 355.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.1992, allocations: 367.4 kB / 355.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.204, allocations: 8.916 MB / 364.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.2047, allocations: 67.97 kB / 364.5 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.2048, allocations: 79.98 kB / 364.6 MB, free: 2.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006866/0.2055, allocations: 269.9 kB / 364.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.2057, allocations: 238.7 kB / 365.1 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.2075, allocations: 1.33 MB / 366.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.2075, allocations: 12 kB / 366.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2075, allocations: 8 kB / 366.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2075, allocations: 3.984 kB / 366.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.2121, allocations: 3.515 MB / 369.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2121, allocations: 4 kB / 369.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.2125, allocations: 167.8 kB / 370.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009722/0.2135, allocations: 475.9 kB / 370.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.2136, allocations: 43.92 kB / 370.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00747/0.221, allocations: 13.82 MB / 384.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.221, allocations: 0 / 384.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.2235, allocations: 1.802 MB / 386.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.224, allocations: 330.6 kB / 386.6 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.2242, allocations: 35.98 kB / 386.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.2246, allocations: 59.95 kB / 386.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.2248, allocations: 117 kB / 386.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.2248, allocations: 39.98 kB / 386.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008819/0.2257, allocations: 0.8053 MB / 387.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2257, allocations: 0 / 387.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001468/0.2272, allocations: 0.5781 MB / 388.2 MB, free: 10.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0002738/0.2275, allocations: 170.2 kB / 388.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2296, allocations: 1.765 MB / 390.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2296, allocations: 4 kB / 390.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.2309, allocations: 1.743 MB / 391.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.2321, allocations: 480.7 kB / 392.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.2387, allocations: 5.057 MB / 397.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.2393, allocations: 0.7906 MB / 398.2 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000724/0.24, allocations: 335.6 kB / 398.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.2402, allocations: 120.4 kB / 398.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2402, allocations: 0 / 398.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Templates: time 0.03666/0.2769, allocations: 29 MB / 427.6 MB, free: 3.109 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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.507090477272868]