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.001409/0.001409, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001489/0.001489, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9181/0.9181, allocations: 177.2 MB / 205 MB, free: 5.605 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.356e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01099/0.01101, allocations: 13.42 MB / 286.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1169/0.1279, allocations: 4.456 MB / 290.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.13, allocations: 97.69 kB / 291 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.1325, allocations: 0.9904 MB / 292 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.1358, allocations: 1.358 MB / 293.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1374, allocations: 0.879 MB / 294.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004358/0.1417, allocations: 4.269 MB / 298.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.1439, allocations: 1.726 MB / 300.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.1479, allocations: 2.957 MB / 303.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.1507, allocations: 1.975 MB / 305.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009684/0.1517, allocations: 0.504 MB / 305.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1532, allocations: 0.7182 MB / 306.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005782/0.1537, allocations: 1.168 MB / 307.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.1552, allocations: 1.454 MB / 309 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.1585, allocations: 3.481 MB / 312.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1585, allocations: 0 / 312.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1585, allocations: 0 / 312.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.917e-05/0.1585, allocations: 0 / 312.5 MB, free: 7.766 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.004952/0.1635, allocations: 4.654 MB / 317.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1635, allocations: 8.031 kB / 317.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.1659, allocations: 1.25 MB / 318.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.168, allocations: 2.346 MB / 320.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.1681, allocations: 238.8 kB / 320.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.1684, allocations: 323.3 kB / 321.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.1716, allocations: 2.526 MB / 323.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.1717, allocations: 8.984 kB / 323.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.1719, allocations: 131.2 kB / 323.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.172, allocations: 142.2 kB / 324.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.1743, allocations: 1.184 MB / 325.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.1856, allocations: 10.59 MB / 335.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.1881, allocations: 1.962 MB / 337.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.1891, allocations: 0.748 MB / 338.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003062/0.1921, allocations: 2.309 MB / 340.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1922, allocations: 54.38 kB / 340.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 2.625e-06/0.1922, allocations: 0 / 340.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.0061/0.1983, allocations: 4.043 MB / 344.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1983, allocations: 68.66 kB / 345 MB, free: 7.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.1996, allocations: 1.442 MB / 346.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.1997, allocations: 53.7 kB / 346.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009343/0.2006, allocations: 1.585 MB / 348.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.2009, allocations: 0.5267 MB / 348.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.2012, allocations: 329.1 kB / 348.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.2013, allocations: 480.7 kB / 349.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.2017, allocations: 259.8 kB / 349.7 MB, free: 2.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.2024, allocations: 0.9485 MB / 350.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2036, allocations: 1.316 MB / 351.9 MB, free: 172 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2036, allocations: 4 kB / 351.9 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002007/0.2056, allocations: 1.611 MB / 353.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2057, allocations: 12 kB / 353.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2057, allocations: 12 kB / 353.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008914/0.2066, allocations: 450.1 kB / 354 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.2075, allocations: 379.3 kB / 354.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.2119, allocations: 5.788 MB / 360.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.2125, allocations: 71.92 kB / 360.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.2126, allocations: 75.98 kB / 360.3 MB, free: 7.672 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.0005862/0.2132, allocations: 260.2 kB / 360.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.2134, allocations: 234.8 kB / 360.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.2153, allocations: 1.382 MB / 362.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.2153, allocations: 19.98 kB / 362.2 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2153, allocations: 4 kB / 362.2 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2153, allocations: 3.984 kB / 362.2 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.2198, allocations: 3.715 MB / 365.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2198, allocations: 4 kB / 365.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.2203, allocations: 207.7 kB / 366.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008563/0.2211, allocations: 420.2 kB / 366.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-05/0.2212, allocations: 35.98 kB / 366.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006104/0.2273, allocations: 11.58 MB / 378.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2273, allocations: 4 kB / 378.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2298, allocations: 1.851 MB / 380 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/0.2303, allocations: 354.6 kB / 380.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.2304, allocations: 35.98 kB / 380.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2308, allocations: 55.97 kB / 380.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.231, allocations: 121 kB / 380.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.2311, allocations: 43.98 kB / 380.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008748/0.232, allocations: 0.8289 MB / 381.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.232, allocations: 0 / 381.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001386/0.2334, allocations: 0.5859 MB / 382 MB, free: 1.18 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.0002645/0.2336, allocations: 165.9 kB / 382.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.2357, allocations: 1.62 MB / 383.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2357, allocations: 4.188 kB / 383.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.237, allocations: 1.589 MB / 385.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2381, allocations: 449.1 kB / 385.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.2448, allocations: 5.14 MB / 391 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.2455, allocations: 0.8266 MB / 391.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008281/0.2463, allocations: 343.5 kB / 392.1 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.2465, allocations: 124.5 kB / 392.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2465, allocations: 0 / 392.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of Templates: time 0.03797/0.2845, allocations: 30.15 MB / 422.4 MB, free: 8.988 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.7057388187386096]