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.0009501/0.0009501, allocations: 80.8 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.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.0009411/0.0009411, allocations: 174 kB / 24.92 MB, free: 8.766 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.9743/0.9743, 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 2.235e-06/2.235e-06, allocations: 4 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.965e-05, allocations: 2.312 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01036/0.01038, allocations: 13 MB / 286.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.117/0.1274, allocations: 4.616 MB / 291.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.1295, allocations: 97.06 kB / 291.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.1317, allocations: 1.021 MB / 292.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.1344, allocations: 1.351 MB / 293.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1358, allocations: 0.8676 MB / 294.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.1402, allocations: 4.28 MB / 298.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.1425, allocations: 1.774 MB / 300.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.1469, allocations: 2.959 MB / 303.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.1498, allocations: 1.983 MB / 305.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.1508, allocations: 0.505 MB / 306 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.152, allocations: 0.726 MB / 306.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.1527, allocations: 1.17 MB / 307.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1538, allocations: 1.45 MB / 309.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.1564, allocations: 3.48 MB / 312.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1564, allocations: 0 / 312.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1564, allocations: 4 kB / 312.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.1564, allocations: 0 / 312.8 MB, free: 7.707 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.004607/0.161, allocations: 4.276 MB / 317.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.161, allocations: 8.031 kB / 317.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.1637, allocations: 1.12 MB / 318.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.1653, allocations: 1.491 MB / 319.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.1654, allocations: 234.5 kB / 319.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.1657, allocations: 315.7 kB / 320.2 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.168, allocations: 2.379 MB / 322.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.168, allocations: 7.953 kB / 322.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.1682, allocations: 134.8 kB / 322.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.084e-05/0.1683, allocations: 146.2 kB / 322.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1697, allocations: 0.9242 MB / 323.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00814/0.1778, allocations: 8.264 MB / 332.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.1798, allocations: 1.632 MB / 333.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.1805, allocations: 0.606 MB / 334.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/0.1828, allocations: 1.801 MB / 336.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1828, allocations: 43.56 kB / 336.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.265e-06/0.1828, allocations: 0 / 336.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.005112/0.1879, allocations: 3.343 MB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.188, allocations: 68.72 kB / 339.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.1888, allocations: 1.179 MB / 340.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.1888, allocations: 45.7 kB / 340.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.1893, allocations: 1.254 MB / 342 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.1896, allocations: 0.5113 MB / 342.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.1898, allocations: 297.8 kB / 342.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.1899, allocations: 301.1 kB / 343.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1902, allocations: 206.7 kB / 343.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.1906, allocations: 0.6521 MB / 344 MB, free: 9.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.1914, allocations: 1.025 MB / 345 MB, free: 8.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1914, allocations: 4 kB / 345 MB, free: 8.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00132/0.1928, allocations: 1.202 MB / 346.2 MB, free: 7.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1928, allocations: 11.91 kB / 346.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1928, allocations: 16 kB / 346.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/0.1935, allocations: 413.8 kB / 346.7 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.1943, allocations: 420.9 kB / 347.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.1977, allocations: 4.312 MB / 351.4 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.1981, allocations: 52 kB / 351.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.1982, allocations: 55.98 kB / 351.5 MB, free: 1.883 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.0004471/0.1987, allocations: 215 kB / 351.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.1988, allocations: 155.8 kB / 351.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.2001, allocations: 1.076 MB / 352.9 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2001, allocations: 16 kB / 352.9 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2001, allocations: 4 kB / 352.9 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2001, allocations: 7.969 kB / 353 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.2029, allocations: 2.333 MB / 355.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2029, allocations: 8 kB / 355.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.2035, allocations: 246.4 kB / 355.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/0.2042, allocations: 376.7 kB / 355.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.2042, allocations: 32 kB / 355.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004671/0.2089, allocations: 8.421 MB / 364.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2089, allocations: 3.938 kB / 364.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.2105, allocations: 1.411 MB / 365.8 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.2108, allocations: 209.9 kB / 366 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2109, allocations: 28 kB / 366 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.2113, allocations: 59.91 kB / 366.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.2115, allocations: 113 kB / 366.2 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.2115, allocations: 31.98 kB / 366.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004594/0.212, allocations: 0.5819 MB / 366.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.212, allocations: 0 / 366.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001205/0.2132, allocations: 0.582 MB / 367.4 MB, free: 1.883 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.0002126/0.2134, allocations: 143 kB / 367.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.2147, allocations: 1.311 MB / 368.8 MB, free: 436 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.368e-05/0.2147, allocations: 21.81 kB / 368.8 MB, free: 416 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.2158, allocations: 1.202 MB / 370 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009329/0.2167, allocations: 453.9 kB / 370.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/0.222, allocations: 4.9 MB / 375.4 MB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.2225, allocations: 0.6705 MB / 376.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.223, allocations: 243.7 kB / 376.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.2237, allocations: 447.1 kB / 376.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2237, allocations: 0 / 376.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of Templates: time 0.03639/0.2601, allocations: 31.08 MB / 407.8 MB, free: 9.797 MB / 362.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 -s gbode -gbm=radauIIA3 -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.409832342993468]