Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9648/0.9648, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.179e-05, allocations: 4.844 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01726/0.01728, allocations: 13.67 MB / 287.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.105/0.1223, allocations: 4.565 MB / 291.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.1241, allocations: 104.7 kB / 291.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.1259, allocations: 1.015 MB / 292.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1284, allocations: 1.368 MB / 294.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1297, allocations: 0.9328 MB / 295.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.1334, allocations: 4.335 MB / 299.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.1352, allocations: 1.746 MB / 301.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.1381, allocations: 2.986 MB / 304.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.1399, allocations: 1.912 MB / 306.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.1404, allocations: 0.5026 MB / 306.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/0.1413, allocations: 0.7112 MB / 307.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.1418, allocations: 1.147 MB / 308.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009615/0.1427, allocations: 1.453 MB / 309.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.1448, allocations: 3.462 MB / 313.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1448, allocations: 4 kB / 313.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1448, allocations: 0 / 313.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.1449, allocations: 4 kB / 313.3 MB, free: 7.301 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.00426/0.1491, allocations: 4.54 MB / 317.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1492, allocations: 8.031 kB / 317.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.1513, allocations: 1.165 MB / 319.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.1531, allocations: 2.227 MB / 321.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.1532, allocations: 250.6 kB / 321.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.1535, allocations: 323.5 kB / 321.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.156, allocations: 2.389 MB / 324.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/0.1561, allocations: 10.84 kB / 324.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.1563, allocations: 131.9 kB / 324.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/0.1563, allocations: 151.5 kB / 324.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.1578, allocations: 0.9444 MB / 325.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.1678, allocations: 11.04 MB / 336.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.1701, allocations: 1.838 MB / 338.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/0.1709, allocations: 0.6928 MB / 339 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/0.1735, allocations: 2.297 MB / 341.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1735, allocations: 49.98 kB / 341.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.295e-06/0.1735, allocations: 4 kB / 341.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.004516/0.178, allocations: 2.954 MB / 344.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.1781, allocations: 68.19 kB / 344.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1791, allocations: 1.379 MB / 345.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.1791, allocations: 53.7 kB / 345.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.1798, allocations: 1.609 MB / 347.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.1801, allocations: 0.506 MB / 347.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.1804, allocations: 337.6 kB / 348.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.1805, allocations: 488.7 kB / 348.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1807, allocations: 187.8 kB / 348.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.1813, allocations: 0.9626 MB / 349.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.1825, allocations: 1.278 MB / 351.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1826, allocations: 4 kB / 351.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001516/0.1841, allocations: 1.464 MB / 352.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1841, allocations: 12 kB / 352.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1841, allocations: 16.34 kB / 352.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.1846, allocations: 305.9 kB / 353 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.1853, allocations: 367.4 kB / 353.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.1894, allocations: 8.733 MB / 362.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.1898, allocations: 55.98 kB / 362.1 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.1899, allocations: 60 kB / 362.2 MB, free: 6.715 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.0004462/0.1904, allocations: 276 kB / 362.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1906, allocations: 230.8 kB / 362.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.192, allocations: 1.226 MB / 363.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.192, allocations: 12 kB / 363.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.192, allocations: 8 kB / 363.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.192, allocations: 7.969 kB / 363.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.1953, allocations: 2.887 MB / 366.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1953, allocations: 0 / 366.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.1956, allocations: 155.8 kB / 367 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007721/0.1964, allocations: 476.4 kB / 367.4 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.1965, allocations: 39.98 kB / 367.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/0.2027, allocations: 13.53 MB / 381 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2027, allocations: 4 kB / 381 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.2044, allocations: 1.648 MB / 382.7 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.2047, allocations: 301 kB / 382.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.2049, allocations: 35.98 kB / 383 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.2052, allocations: 51.98 kB / 383 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2054, allocations: 117 kB / 383.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.2054, allocations: 31.98 kB / 383.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005214/0.2059, allocations: 0.7323 MB / 383.9 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2059, allocations: 0 / 383.9 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001338/0.2073, allocations: 0.5859 MB / 384.5 MB, free: 15.94 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.000281/0.2076, allocations: 170.1 kB / 384.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.2096, allocations: 1.674 MB / 386.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2096, allocations: 0 / 386.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.2115, allocations: 1.688 MB / 388 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.2131, allocations: 484.3 kB / 388.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.2193, allocations: 5.013 MB / 393.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/0.2202, allocations: 0.7865 MB / 394.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005406/0.2207, allocations: 243.7 kB / 394.5 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/0.2214, allocations: 0.5018 MB / 395 MB, free: 5.211 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2214, allocations: 3.938 kB / 395 MB, free: 5.207 MB / 346.7 MB Notification: Performance of Templates: time 0.0368/0.2582, allocations: 29.59 MB / 424.6 MB, free: 8.117 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4080406222492456]