Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 144.5 kB / 24.89 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.001/1.001, allocations: 173.4 MB / 201.5 MB, free: 9.207 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.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 / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.065e-05, allocations: 6.25 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01299/0.01301, allocations: 12.42 MB / 281 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009403/0.02242, allocations: 4.332 MB / 285.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.02466, allocations: 87.5 kB / 285.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.02743, allocations: 1.013 MB / 286.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.03174, allocations: 1.374 MB / 287.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.03365, allocations: 0.8163 MB / 288.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1288/0.1624, allocations: 4.196 MB / 292.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.1652, allocations: 1.77 MB / 294.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.1703, allocations: 2.948 MB / 297.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.1744, allocations: 1.972 MB / 299.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.1759, allocations: 0.5101 MB / 300 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.1779, allocations: 0.6988 MB / 300.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.179, allocations: 1.177 MB / 301.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.1819, allocations: 1.444 MB / 303.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.1864, allocations: 3.445 MB / 306.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1864, allocations: 0 / 306.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1864, allocations: 0 / 306.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001841/0.1866, allocations: 0 / 306.7 MB, free: 12.55 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.006822/0.1934, allocations: 4.235 MB / 311 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1935, allocations: 10.83 kB / 311 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.1962, allocations: 1.105 MB / 312.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.1985, allocations: 1.463 MB / 313.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.1986, allocations: 237 kB / 313.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.1989, allocations: 315 kB / 314.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.2014, allocations: 2.378 MB / 316.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.2015, allocations: 6.891 kB / 316.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.2017, allocations: 127.9 kB / 316.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.186e-05/0.2017, allocations: 146.2 kB / 316.7 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.2032, allocations: 0.9135 MB / 317.7 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009877/0.213, allocations: 8.258 MB / 325.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.2151, allocations: 1.624 MB / 327.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.2158, allocations: 0.6018 MB / 328.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002912/0.2188, allocations: 1.765 MB / 329.9 MB, free: 9.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2188, allocations: 51.56 kB / 330 MB, free: 9.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.816e-06/0.2188, allocations: 0 / 330 MB, free: 9.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.006217/0.225, allocations: 3.322 MB / 333.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.225, allocations: 68.7 kB / 333.3 MB, free: 6.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2262, allocations: 1.152 MB / 334.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.2262, allocations: 49.7 kB / 334.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.2268, allocations: 1.248 MB / 335.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.2271, allocations: 0.5073 MB / 336.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.2274, allocations: 300 kB / 336.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.2275, allocations: 305.1 kB / 336.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.2278, allocations: 208.7 kB / 337.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.2283, allocations: 0.6606 MB / 337.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.2292, allocations: 1.015 MB / 338.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2292, allocations: 8 kB / 338.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001594/0.2308, allocations: 1.188 MB / 340 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2308, allocations: 12 kB / 340 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.2309, allocations: 12.28 kB / 340 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008417/0.2317, allocations: 421.3 kB / 340.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.2326, allocations: 429.5 kB / 340.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.2363, allocations: 4.298 MB / 345.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.2372, allocations: 59.94 kB / 345.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.2373, allocations: 55.98 kB / 345.2 MB, free: 10.43 MB / 298.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.0007469/0.238, allocations: 219.8 kB / 345.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.2382, allocations: 155.8 kB / 345.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2397, allocations: 1.056 MB / 346.7 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2397, allocations: 20 kB / 346.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2397, allocations: 11.98 kB / 346.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2397, allocations: 3.984 kB / 346.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.244, allocations: 2.324 MB / 349 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.244, allocations: 4 kB / 349 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.2446, allocations: 254.5 kB / 349.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/0.2453, allocations: 376.4 kB / 349.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.2454, allocations: 35.98 kB / 349.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.2507, allocations: 8.41 MB / 358.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2507, allocations: 3.938 kB / 358.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.2528, allocations: 1.415 MB / 359.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.2534, allocations: 194.8 kB / 359.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.2535, allocations: 36 kB / 359.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.2539, allocations: 47.92 kB / 359.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.2542, allocations: 112.5 kB / 359.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.2542, allocations: 31.98 kB / 359.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006795/0.2549, allocations: 0.5701 MB / 360.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2549, allocations: 0 / 360.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001888/0.2568, allocations: 0.5859 MB / 361.1 MB, free: 10.55 MB / 314.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.0002891/0.2571, allocations: 147 kB / 361.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.259, allocations: 1.297 MB / 362.5 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.621e-05/0.259, allocations: 21.81 kB / 362.5 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.2602, allocations: 1.201 MB / 363.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.2615, allocations: 440 kB / 364.2 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007041/0.2685, allocations: 4.913 MB / 369.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.2692, allocations: 0.6582 MB / 369.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008725/0.2701, allocations: 243.5 kB / 370 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/0.2709, allocations: 442.3 kB / 370.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of SimCode: time 2.174e-06/0.2709, allocations: 0 / 370.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Templates: time 0.04243/0.3133, allocations: 30.58 MB / 401 MB, free: 3.109 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.582647974137217]