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.0009469/0.0009469, 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.0009748/0.0009748, allocations: 161 kB / 24.91 MB, free: 9.195 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.8825/0.8825, allocations: 177 MB / 205.2 MB, free: 5.457 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 2.134e-06/2.134e-06, allocations: 3.984 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.423e-05, allocations: 6.25 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0103/0.01032, allocations: 13.69 MB / 287.1 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.113/0.1234, allocations: 4.769 MB / 291.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1251, allocations: 102.9 kB / 292 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.1269, allocations: 1.039 MB / 293 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.1292, allocations: 1.385 MB / 294.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1304, allocations: 0.9386 MB / 295.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.1332, allocations: 4.352 MB / 299.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.1348, allocations: 1.788 MB / 301.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.1371, allocations: 2.991 MB / 304.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.1388, allocations: 1.908 MB / 306.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.1393, allocations: 0.5074 MB / 306.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.14, allocations: 0.7167 MB / 307.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.1406, allocations: 1.147 MB / 308.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009877/0.1415, allocations: 1.454 MB / 310.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.1435, allocations: 3.463 MB / 313.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1435, allocations: 0 / 313.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1435, allocations: 0 / 313.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.997e-05/0.1436, allocations: 3.984 kB / 313.7 MB, free: 6.926 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.004197/0.1478, allocations: 4.299 MB / 318 MB, free: 2.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1478, allocations: 11.98 kB / 318 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.1502, allocations: 1.11 MB / 319.1 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.1517, allocations: 1.496 MB / 320.6 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.1518, allocations: 245.7 kB / 320.8 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.1521, allocations: 327.8 kB / 321.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.1545, allocations: 2.443 MB / 323.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.1546, allocations: 3.984 kB / 323.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.1547, allocations: 133.3 kB / 323.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.1548, allocations: 156.1 kB / 323.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.1563, allocations: 0.9493 MB / 324.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00869/0.165, allocations: 8.7 MB / 333.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.167, allocations: 1.667 MB / 335.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.1677, allocations: 0.6247 MB / 335.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002379/0.1701, allocations: 1.838 MB / 337.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1702, allocations: 47.86 kB / 337.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.555e-06/0.1702, allocations: 0 / 337.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.003946/0.1741, allocations: 2.727 MB / 340.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1741, allocations: 72.7 kB / 340.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.175, allocations: 1.17 MB / 341.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.175, allocations: 45.7 kB / 341.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.1755, allocations: 1.287 MB / 343 MB, free: 10.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1758, allocations: 0.4939 MB / 343.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.176, allocations: 305.7 kB / 343.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.1761, allocations: 305.1 kB / 344.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1764, allocations: 194.7 kB / 344.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1768, allocations: 0.7181 MB / 345 MB, free: 8.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/0.1777, allocations: 1.06 MB / 346 MB, free: 7.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.1777, allocations: 4 kB / 346 MB, free: 7.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001834/0.1795, allocations: 1.181 MB / 347.2 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1795, allocations: 15.62 kB / 347.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.1796, allocations: 23.94 kB / 347.3 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.1802, allocations: 284.5 kB / 347.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.1813, allocations: 359.4 kB / 347.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/0.186, allocations: 6.404 MB / 354.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.1868, allocations: 63.88 kB / 354.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.1869, allocations: 56 kB / 354.4 MB, free: 14.58 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.0005392/0.1874, allocations: 232.2 kB / 354.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.1876, allocations: 147.8 kB / 354.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.1895, allocations: 1.034 MB / 355.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.1895, allocations: 19.98 kB / 355.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.859e-05/0.1896, allocations: 11.94 kB / 355.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.1896, allocations: 3.984 kB / 355.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.1934, allocations: 2.21 MB / 358.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1934, allocations: 0 / 358.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.194, allocations: 167.7 kB / 358.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.1951, allocations: 431.6 kB / 358.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.1952, allocations: 43.97 kB / 358.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007322/0.2025, allocations: 9.929 MB / 368.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2025, allocations: 11.88 kB / 368.6 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.2048, allocations: 1.373 MB / 370 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.2052, allocations: 204.4 kB / 370.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.2054, allocations: 39.92 kB / 370.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.206, allocations: 43.98 kB / 370.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.2062, allocations: 113 kB / 370.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.2063, allocations: 27.98 kB / 370.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00076/0.2071, allocations: 0.5776 MB / 371 MB, free: 13.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2071, allocations: 0 / 371 MB, free: 13.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002019/0.2091, allocations: 0.5781 MB / 371.6 MB, free: 13.13 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.0002877/0.2094, allocations: 164.5 kB / 371.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.2108, allocations: 1.361 MB / 373.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.722e-05/0.2109, allocations: 21.81 kB / 373.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009837/0.2118, allocations: 1.311 MB / 374.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2129, allocations: 475.5 kB / 374.9 MB, free: 9.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.2183, allocations: 4.805 MB / 379.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.2188, allocations: 0.6344 MB / 380.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.2194, allocations: 239.7 kB / 380.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/0.22, allocations: 454 kB / 381 MB, free: 3.559 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.22, allocations: 3.938 kB / 381 MB, free: 3.555 MB / 330.7 MB Notification: Performance of Templates: time 0.03438/0.2544, allocations: 29.6 MB / 410.6 MB, free: 6.414 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 -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.3047225098125637]