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.0009865/0.0009865, allocations: 77.88 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.001009/0.001009, allocations: 168.8 kB / 24.82 MB, free: 8.871 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.9304/0.9304, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.414e-05, allocations: 8.703 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01008/0.0101, allocations: 12.94 MB / 286.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.116/0.1261, allocations: 4.422 MB / 290.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.1283, allocations: 97.28 kB / 290.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.1308, allocations: 0.9912 MB / 291.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.1341, allocations: 1.355 MB / 293.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1357, allocations: 0.8693 MB / 294.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003851/0.1395, allocations: 4.268 MB / 298.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.1416, allocations: 1.729 MB / 300.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.1456, allocations: 2.963 MB / 303.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.1481, allocations: 1.98 MB / 305 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009475/0.1491, allocations: 0.5051 MB / 305.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1503, allocations: 0.713 MB / 306.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.1509, allocations: 1.183 MB / 307.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1522, allocations: 1.453 MB / 308.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.1547, allocations: 3.474 MB / 312.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1547, allocations: 0 / 312.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1547, allocations: 0 / 312.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.1548, allocations: 0 / 312.4 MB, free: 7.883 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.004779/0.1596, allocations: 4.538 MB / 316.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1596, allocations: 8.031 kB / 316.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.1619, allocations: 1.17 MB / 318.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.1638, allocations: 2.245 MB / 320.3 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1639, allocations: 238.4 kB / 320.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.1642, allocations: 311.4 kB / 320.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.1668, allocations: 2.33 MB / 323.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/0.1668, allocations: 11.89 kB / 323.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.167, allocations: 129.7 kB / 323.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-05/0.1671, allocations: 146.2 kB / 323.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1686, allocations: 0.9093 MB / 324.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.1787, allocations: 10.52 MB / 334.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.181, allocations: 1.806 MB / 336.7 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.1818, allocations: 0.6592 MB / 337.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.1844, allocations: 2.254 MB / 339.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1844, allocations: 50.39 kB / 339.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.145e-06/0.1844, allocations: 4 kB / 339.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.005268/0.1897, allocations: 3.43 MB / 343.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1897, allocations: 80.64 kB / 343.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.1911, allocations: 1.411 MB / 344.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.1911, allocations: 49.7 kB / 344.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/0.1918, allocations: 1.599 MB / 346.2 MB, free: 7.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.1921, allocations: 0.5272 MB / 346.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.1924, allocations: 332.4 kB / 347.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.1925, allocations: 476.8 kB / 347.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.1928, allocations: 199.8 kB / 347.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.1933, allocations: 0.8961 MB / 348.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.1943, allocations: 1.209 MB / 349.9 MB, free: 3.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1943, allocations: 4 kB / 349.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001876/0.1961, allocations: 1.474 MB / 351.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1962, allocations: 12 kB / 351.3 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.1962, allocations: 20 kB / 351.4 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/0.197, allocations: 437.9 kB / 351.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.1977, allocations: 363 kB / 352.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00383/0.2015, allocations: 5.624 MB / 357.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.2022, allocations: 63.94 kB / 357.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.2022, allocations: 52 kB / 357.9 MB, free: 11.18 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.0008157/0.203, allocations: 260.1 kB / 358.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.2033, allocations: 242.8 kB / 358.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.2048, allocations: 1.261 MB / 359.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2048, allocations: 12 kB / 359.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2048, allocations: 8 kB / 359.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2048, allocations: 7.969 kB / 359.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.2084, allocations: 3.063 MB / 362.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2084, allocations: 4 kB / 362.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.2089, allocations: 203.7 kB / 362.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007065/0.2096, allocations: 402 kB / 363.3 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.2096, allocations: 35.98 kB / 363.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.2153, allocations: 11.35 MB / 374.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2153, allocations: 0 / 374.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.2173, allocations: 1.696 MB / 376.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.2177, allocations: 326.6 kB / 376.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2179, allocations: 36 kB / 376.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.2182, allocations: 51.97 kB / 376.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.2184, allocations: 109 kB / 376.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.2185, allocations: 35.98 kB / 376.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006166/0.2191, allocations: 0.7571 MB / 377.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0 / 377.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001382/0.2205, allocations: 0.5859 MB / 378.3 MB, free: 6.457 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.0002507/0.2207, allocations: 166.2 kB / 378.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.2223, allocations: 1.513 MB / 380 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2223, allocations: 128 / 380 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2237, allocations: 1.546 MB / 381.5 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2247, allocations: 446.5 kB / 381.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/0.2304, allocations: 5.094 MB / 387 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/0.2312, allocations: 0.8305 MB / 387.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005905/0.2318, allocations: 243.7 kB / 388.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.2325, allocations: 493.9 kB / 388.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2325, allocations: 0 / 388.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of Templates: time 0.03848/0.2709, allocations: 30.82 MB / 419.4 MB, free: 13.66 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.60940865194425]