Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008069/0.0008069, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.034/1.034, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.731e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0108/0.01082, allocations: 13.71 MB / 287.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1265/0.1373, allocations: 5.457 MB / 292.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.1391, allocations: 102.9 kB / 292.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.1411, allocations: 1.09 MB / 293.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.1439, allocations: 1.497 MB / 295.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1455, allocations: 1.015 MB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.1493, allocations: 4.578 MB / 300.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.1511, allocations: 1.853 MB / 302.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.154, allocations: 3.224 MB / 306 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.1559, allocations: 2.102 MB / 308.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.1564, allocations: 0.5295 MB / 308.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/0.1573, allocations: 0.9147 MB / 309.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.1579, allocations: 1.409 MB / 311 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.159, allocations: 1.562 MB / 312.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.1613, allocations: 3.926 MB / 316.4 MB, free: 4.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1613, allocations: 3.984 kB / 316.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1613, allocations: 0 / 316.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.1613, allocations: 0 / 316.4 MB, free: 4.566 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.00457/0.1659, allocations: 4.867 MB / 321.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1659, allocations: 15.98 kB / 321.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.1686, allocations: 1.178 MB / 322.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.1707, allocations: 1.771 MB / 324.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1708, allocations: 247.1 kB / 324.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.1711, allocations: 336.9 kB / 324.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.1737, allocations: 2.56 MB / 327.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.1738, allocations: 4 kB / 327.4 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.174, allocations: 143.5 kB / 327.6 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.1741, allocations: 157.5 kB / 327.7 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1756, allocations: 0.9983 MB / 328.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009074/0.1847, allocations: 8.672 MB / 337.4 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.1871, allocations: 1.819 MB / 339.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009035/0.188, allocations: 0.7668 MB / 340 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/0.1908, allocations: 2.134 MB / 342.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.1909, allocations: 59.8 kB / 342.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 2.374e-06/0.1909, allocations: 0 / 342.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.006075/0.197, allocations: 3.98 MB / 346.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.197, allocations: 69.41 kB / 346.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.1982, allocations: 1.735 MB / 347.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.1982, allocations: 53.7 kB / 348 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.1988, allocations: 1.324 MB / 349.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.1991, allocations: 0.6509 MB / 350 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.1994, allocations: 326.7 kB / 350.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.1994, allocations: 305.1 kB / 350.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.1998, allocations: 234.7 kB / 350.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.2002, allocations: 0.6249 MB / 351.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.2012, allocations: 1.06 MB / 352.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.2012, allocations: 4 kB / 352.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001716/0.2029, allocations: 1.336 MB / 353.8 MB, free: 48 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2029, allocations: 8 kB / 353.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2029, allocations: 12 kB / 353.9 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/0.2037, allocations: 456.7 kB / 354.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00096/0.2047, allocations: 467.2 kB / 354.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.2083, allocations: 4.742 MB / 359.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.2088, allocations: 55.98 kB / 359.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/0.2089, allocations: 67.91 kB / 359.6 MB, free: 10.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004176/0.2093, allocations: 220.2 kB / 359.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.2097, allocations: 203.5 kB / 360 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.2112, allocations: 1.306 MB / 361.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.2112, allocations: 20 kB / 361.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2112, allocations: 8 kB / 361.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2113, allocations: 11.97 kB / 361.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.2144, allocations: 2.741 MB / 364.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2144, allocations: 4 kB / 364.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007013/0.2151, allocations: 299.7 kB / 364.4 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008749/0.2159, allocations: 498.9 kB / 364.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.216, allocations: 47.97 kB / 364.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004793/0.2208, allocations: 7.805 MB / 372.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2208, allocations: 4 kB / 372.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.2227, allocations: 1.685 MB / 374.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.2232, allocations: 266.3 kB / 374.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.2234, allocations: 40 kB / 374.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.2238, allocations: 63.97 kB / 374.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.224, allocations: 145.6 kB / 374.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.2241, allocations: 39.97 kB / 375 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006058/0.2247, allocations: 0.8124 MB / 375.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2247, allocations: 0 / 375.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001184/0.2259, allocations: 0.6873 MB / 376.5 MB, free: 9.125 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.227, allocations: 0.5245 MB / 377 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.2286, allocations: 1.489 MB / 378.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-05/0.2286, allocations: 24.5 kB / 378.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.2298, allocations: 1.272 MB / 379.8 MB, free: 5.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.231, allocations: 495 kB / 380.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.2376, allocations: 5.763 MB / 386 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.2383, allocations: 0.7943 MB / 386.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006379/0.2389, allocations: 294.2 kB / 387.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008034/0.2397, allocations: 0.4913 MB / 387.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2397, allocations: 3.938 kB / 387.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of Templates: time 0.0428/0.2825, allocations: 36.34 MB / 424 MB, free: 10.06 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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.633548232726753]