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.0009907/0.0009907, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001324/0.001324, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.9958/0.9958, allocations: 177.1 MB / 206 MB, free: 4.5 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 2.414e-06/2.414e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.337e-05, allocations: 5.688 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0122/0.01224, allocations: 12.95 MB / 287.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.02022, allocations: 4.429 MB / 291.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.02214, allocations: 95.44 kB / 291.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.02425, allocations: 0.9899 MB / 292.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.02757, allocations: 1.359 MB / 294 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.02912, allocations: 0.861 MB / 294.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.03319, allocations: 4.278 MB / 299.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.0356, allocations: 1.726 MB / 300.9 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.03914, allocations: 2.963 MB / 303.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.04163, allocations: 1.976 MB / 305.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.04209, allocations: 0.5039 MB / 306.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.04306, allocations: 0.7144 MB / 307.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.0437, allocations: 1.176 MB / 308.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.04498, allocations: 1.454 MB / 309.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.04825, allocations: 3.478 MB / 313.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.04826, allocations: 0 / 313.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.04826, allocations: 0 / 313.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.935e-05/0.04831, allocations: 4 kB / 313.2 MB, free: 13.25 MB / 298.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.005739/0.05405, allocations: 4.53 MB / 317.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.05409, allocations: 8.031 kB / 317.7 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.05696, allocations: 1.169 MB / 318.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.05937, allocations: 2.243 MB / 321.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.05949, allocations: 234.6 kB / 321.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.0598, allocations: 320.3 kB / 321.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.06255, allocations: 2.327 MB / 324 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.06261, allocations: 11.94 kB / 324 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.0628, allocations: 124 kB / 324.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.06291, allocations: 150.2 kB / 324.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.06433, allocations: 0.9131 MB / 325.2 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.07591, allocations: 10.52 MB / 335.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.07808, allocations: 1.81 MB / 337.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.07887, allocations: 0.6625 MB / 338.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/0.08189, allocations: 2.229 MB / 340.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.08192, allocations: 54.39 kB / 340.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 3.346e-06/0.08192, allocations: 4 kB / 340.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.005531/0.08745, allocations: 3.424 MB / 343.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.08749, allocations: 64.72 kB / 343.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.08866, allocations: 1.41 MB / 345.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.08873, allocations: 49.7 kB / 345.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/0.08949, allocations: 1.602 MB / 347 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/0.09004, allocations: 0.5269 MB / 347.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/0.09037, allocations: 325 kB / 347.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.09047, allocations: 488.7 kB / 348.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.09075, allocations: 195.8 kB / 348.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.09133, allocations: 0.892 MB / 349.4 MB, free: 8.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.09232, allocations: 1.205 MB / 350.6 MB, free: 6.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.09232, allocations: 8 kB / 350.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001776/0.0941, allocations: 1.479 MB / 352.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.09412, allocations: 12 kB / 352.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.09414, allocations: 15.98 kB / 352.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008496/0.09499, allocations: 439.3 kB / 352.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.09575, allocations: 363.5 kB / 352.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.132/0.2277, allocations: 5.607 MB / 358.5 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2288, allocations: 56.89 kB / 358.6 MB, free: 62.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.2289, allocations: 59.95 kB / 358.6 MB, free: 62.39 MB / 330.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.0006886/0.2296, allocations: 264.2 kB / 358.9 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.2299, allocations: 235.8 kB / 359.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.2317, allocations: 1.258 MB / 360.4 MB, free: 62.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.2317, allocations: 17.16 kB / 360.4 MB, free: 62.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.2317, allocations: 9.391 kB / 360.4 MB, free: 62.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.2318, allocations: 7.078 kB / 360.4 MB, free: 62.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.2357, allocations: 3.06 MB / 363.5 MB, free: 61.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2357, allocations: 4.172 kB / 363.5 MB, free: 61.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.2362, allocations: 201 kB / 363.7 MB, free: 61.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007794/0.237, allocations: 412.4 kB / 364.1 MB, free: 61.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.2371, allocations: 37.75 kB / 364.1 MB, free: 61.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.2413, allocations: 11.34 MB / 375.4 MB, free: 52.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2413, allocations: 3.969 kB / 375.4 MB, free: 52.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.2432, allocations: 1.695 MB / 377.1 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.2437, allocations: 330.8 kB / 377.5 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.2438, allocations: 30.62 kB / 377.5 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.2443, allocations: 57.66 kB / 377.6 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.2444, allocations: 114.8 kB / 377.7 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.2445, allocations: 33.28 kB / 377.7 MB, free: 51.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006469/0.2451, allocations: 0.7555 MB / 378.5 MB, free: 51.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2451, allocations: 3.656 kB / 378.5 MB, free: 51.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001544/0.2467, allocations: 0.5849 MB / 379 MB, free: 51.51 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.000242/0.2469, allocations: 168.3 kB / 379.2 MB, free: 51.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.2485, allocations: 1.509 MB / 380.7 MB, free: 50.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2485, allocations: 0 / 380.7 MB, free: 50.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.2495, allocations: 1.542 MB / 382.3 MB, free: 50.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2505, allocations: 438.8 kB / 382.7 MB, free: 50.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.2566, allocations: 5.101 MB / 387.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.2573, allocations: 0.8245 MB / 388.6 MB, free: 47.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006265/0.2579, allocations: 245.4 kB / 388.9 MB, free: 47.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.2586, allocations: 499.5 kB / 389.3 MB, free: 47.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2586, allocations: 0 / 389.3 MB, free: 47.59 MB / 330.7 MB Notification: Performance of Templates: time 0.03649/0.2951, allocations: 31.36 MB / 420.7 MB, free: 19.28 MB / 330.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: 4.033881247974932]