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.001493/0.001493, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001443/0.001443, allocations: 160.2 kB / 24.91 MB, free: 8.762 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.9469/0.9469, allocations: 177 MB / 205.2 MB, free: 5.008 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.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.243e-05, allocations: 5.406 kB / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01121/0.01124, allocations: 13.73 MB / 287.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1158/0.1271, allocations: 4.771 MB / 291.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.129, allocations: 105.7 kB / 292.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.1314, allocations: 1.04 MB / 293.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.1345, allocations: 1.372 MB / 294.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1362, allocations: 0.9319 MB / 295.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.1405, allocations: 4.345 MB / 299.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.1427, allocations: 1.796 MB / 301.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.1465, allocations: 2.982 MB / 304.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.149, allocations: 1.92 MB / 306.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008432/0.1499, allocations: 0.5025 MB / 306.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.1511, allocations: 0.729 MB / 307.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.1517, allocations: 1.148 MB / 308.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.1532, allocations: 1.452 MB / 310.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.1561, allocations: 3.464 MB / 313.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1561, allocations: 4 kB / 313.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1561, allocations: 0 / 313.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001114/0.1562, allocations: 0 / 313.7 MB, free: 6.895 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.005196/0.1614, allocations: 4.291 MB / 318 MB, free: 2.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1614, allocations: 19.92 kB / 318.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.164, allocations: 1.123 MB / 319.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.1658, allocations: 1.488 MB / 320.7 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1659, allocations: 242.2 kB / 320.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.1662, allocations: 329.1 kB / 321.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.1689, allocations: 2.441 MB / 323.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.169, allocations: 7.375 kB / 323.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.1694, allocations: 138.6 kB / 323.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.1695, allocations: 142.4 kB / 323.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1711, allocations: 0.9471 MB / 324.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.1813, allocations: 8.702 MB / 333.6 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.1834, allocations: 1.682 MB / 335.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/0.1842, allocations: 0.6286 MB / 335.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002845/0.187, allocations: 1.827 MB / 337.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.187, allocations: 51.81 kB / 337.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 3.026e-06/0.187, allocations: 4 kB / 337.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.004937/0.192, allocations: 2.714 MB / 340.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.192, allocations: 64.72 kB / 340.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.1929, allocations: 1.18 MB / 341.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.193, allocations: 53.7 kB / 341.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.1935, allocations: 1.283 MB / 343.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.1938, allocations: 499.9 kB / 343.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.1941, allocations: 310.1 kB / 343.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.1941, allocations: 305.1 kB / 344.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.1944, allocations: 198.7 kB / 344.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.1949, allocations: 0.7075 MB / 345.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1961, allocations: 1.061 MB / 346.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.1961, allocations: 8 kB / 346.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001425/0.1975, allocations: 1.189 MB / 347.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1975, allocations: 12 kB / 347.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.1975, allocations: 19.98 kB / 347.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.1981, allocations: 279.2 kB / 347.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.199, allocations: 416 kB / 348 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.2029, allocations: 6.416 MB / 354.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.2036, allocations: 59.95 kB / 354.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.2037, allocations: 63.98 kB / 354.6 MB, free: 14.36 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.0006147/0.2043, allocations: 228.1 kB / 354.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.2045, allocations: 151.8 kB / 354.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2059, allocations: 1.042 MB / 356 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.2059, allocations: 16 kB / 356 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2059, allocations: 8 kB / 356 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.2059, allocations: 7.969 kB / 356 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.2089, allocations: 2.203 MB / 358.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2089, allocations: 7.938 kB / 358.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.2094, allocations: 187.7 kB / 358.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008196/0.2102, allocations: 428.7 kB / 358.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/0.2103, allocations: 35.98 kB / 358.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006332/0.2166, allocations: 9.958 MB / 368.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2166, allocations: 7.938 kB / 368.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2183, allocations: 1.387 MB / 370.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.2188, allocations: 197.5 kB / 370.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.2189, allocations: 35.98 kB / 370.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.2193, allocations: 43.98 kB / 370.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.2195, allocations: 117 kB / 370.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.2195, allocations: 31.98 kB / 370.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005234/0.2201, allocations: 0.5786 MB / 371.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2201, allocations: 0 / 371.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001501/0.2216, allocations: 0.5742 MB / 371.8 MB, free: 12.86 MB / 330.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.0002398/0.2218, allocations: 155.6 kB / 371.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.2232, allocations: 1.363 MB / 373.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-05/0.2233, allocations: 21.81 kB / 373.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.2244, allocations: 1.321 MB / 374.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2255, allocations: 476.3 kB / 375.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.232, allocations: 4.798 MB / 379.9 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.2326, allocations: 0.6345 MB / 380.5 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007073/0.2333, allocations: 243.8 kB / 380.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/0.234, allocations: 463 kB / 381.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.234, allocations: 0 / 381.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of Templates: time 0.04082/0.2748, allocations: 29.93 MB / 411.2 MB, free: 5.809 MB / 362.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 -s gbode -gbm=radauIIA3 -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.46486142789945]