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_Initialize.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.00145/0.00145, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001223/0.001223, allocations: 166.8 kB / 24.99 MB, free: 8.336 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.9081/0.9081, allocations: 177.1 MB / 205.3 MB, free: 5.633 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.661e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009933/0.009949, allocations: 13.35 MB / 286.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1056/0.1155, allocations: 4.45 MB / 290.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.1173, allocations: 99.03 kB / 291 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.1191, allocations: 0.9886 MB / 292 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1214, allocations: 1.348 MB / 293.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1226, allocations: 0.8903 MB / 294.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.1258, allocations: 4.265 MB / 298.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.1278, allocations: 1.724 MB / 300.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003151/0.1309, allocations: 2.861 MB / 303 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1329, allocations: 1.995 MB / 305 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.1337, allocations: 0.5075 MB / 305.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.1345, allocations: 0.7268 MB / 306.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.1351, allocations: 1.185 MB / 307.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1361, allocations: 1.464 MB / 308.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.1382, allocations: 3.495 MB / 312.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1382, allocations: 4 kB / 312.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1382, allocations: 0 / 312.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.1383, allocations: 0 / 312.4 MB, free: 7.457 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.004821/0.1431, allocations: 4.678 MB / 317.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.562e-05/0.1431, allocations: 8.031 kB / 317.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.1458, allocations: 1.246 MB / 318.4 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.1478, allocations: 2.335 MB / 320.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1479, allocations: 238.6 kB / 320.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.1482, allocations: 326.3 kB / 321.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.1515, allocations: 2.534 MB / 323.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.1516, allocations: 4 kB / 323.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.1518, allocations: 127.9 kB / 323.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-05/0.1519, allocations: 146.2 kB / 324.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.1543, allocations: 1.191 MB / 325.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.1647, allocations: 10.62 MB / 335.9 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.1673, allocations: 1.955 MB / 337.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.1683, allocations: 0.7557 MB / 338.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002861/0.1712, allocations: 2.31 MB / 340.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1712, allocations: 53.86 kB / 340.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 2.235e-06/0.1712, allocations: 4 kB / 340.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.006364/0.1776, allocations: 4.044 MB / 345 MB, free: 7.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1776, allocations: 72.66 kB / 345.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.179, allocations: 1.45 MB / 346.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.1791, allocations: 53.7 kB / 346.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/0.1798, allocations: 1.584 MB / 348.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.1801, allocations: 0.5227 MB / 348.7 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.1805, allocations: 328.6 kB / 349 MB, free: 3.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.1805, allocations: 480.8 kB / 349.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.181, allocations: 263.8 kB / 349.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.1818, allocations: 0.9413 MB / 350.7 MB, free: 1.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.1832, allocations: 1.316 MB / 352 MB, free: 15.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1832, allocations: 4 kB / 352 MB, free: 15.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002168/0.1854, allocations: 1.623 MB / 353.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1854, allocations: 12.62 kB / 353.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1854, allocations: 12 kB / 353.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/0.1863, allocations: 449.6 kB / 354.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.1871, allocations: 379.9 kB / 354.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.1916, allocations: 5.791 MB / 360.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.1921, allocations: 71.92 kB / 360.3 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.1922, allocations: 75.92 kB / 360.4 MB, free: 7.422 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005325/0.1927, allocations: 262.1 kB / 360.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.193, allocations: 238.9 kB / 360.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.1949, allocations: 1.385 MB / 362.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1949, allocations: 12 kB / 362.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.1949, allocations: 8 kB / 362.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.195, allocations: 7.969 kB / 362.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.1994, allocations: 3.717 MB / 366 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1994, allocations: 4 kB / 366 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.1999, allocations: 219.7 kB / 366.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008437/0.2007, allocations: 410.5 kB / 366.6 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.2008, allocations: 35.98 kB / 366.6 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/0.2075, allocations: 11.59 MB / 378.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2075, allocations: 3.984 kB / 378.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.2099, allocations: 1.858 MB / 380.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.2104, allocations: 350.7 kB / 380.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.2105, allocations: 32 kB / 380.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.2109, allocations: 59.95 kB / 380.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.2111, allocations: 125 kB / 380.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.2112, allocations: 43.98 kB / 380.7 MB, free: 2.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008526/0.212, allocations: 0.8328 MB / 381.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.212, allocations: 0 / 381.5 MB, free: 1.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001328/0.2134, allocations: 0.5898 MB / 382.1 MB, free: 0.9727 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,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 (102): * Single equations (assignments): 97 * 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 {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.2136, allocations: 169.9 kB / 382.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2155, allocations: 1.62 MB / 383.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2155, allocations: 0 / 383.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.2168, allocations: 1.593 MB / 385.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2179, allocations: 449.8 kB / 385.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.2236, allocations: 5.161 MB / 391.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.2242, allocations: 0.8266 MB / 391.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006229/0.2248, allocations: 339.5 kB / 392.2 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.2251, allocations: 128.5 kB / 392.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2251, allocations: 0 / 392.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of Templates: time 0.03609/0.2612, allocations: 29.15 MB / 421.5 MB, free: 9.758 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.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.630442786961794]