Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001979/0.001979, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 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.002475/0.002475, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.468/1.468, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.84 kB / 374.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1043, allocations: 53.31 MB / 428.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.197/0.3013, allocations: 14.33 MB / 442.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.3106, allocations: 5.383 MB / 447.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.3133, allocations: 87.59 kB / 447.9 MB, free: 68 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.3171, allocations: 1.096 MB / 449 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.3226, allocations: 1.469 MB / 450.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.326, allocations: 1.019 MB / 451.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007065/0.333, allocations: 4.368 MB / 455.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004537/0.3376, allocations: 2.342 MB / 458.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.3416, allocations: 2.033 MB / 460.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004974/0.3466, allocations: 2.436 MB / 462.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.3484, allocations: 0.5343 MB / 463.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.3517, allocations: 0.9432 MB / 464.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.3541, allocations: 1.38 MB / 465.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005247/0.3594, allocations: 2.363 MB / 467.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3709, allocations: 7.417 MB / 475.3 MB, free: 28 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3709, allocations: 0 / 475.3 MB, free: 28 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3709, allocations: 0 / 475.3 MB, free: 28 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.3711, allocations: 0 / 475.3 MB, free: 28 kB / 366.1 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.01353/0.3846, allocations: 5.139 MB / 480.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3846, allocations: 12.03 kB / 480.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.3896, allocations: 0.9077 MB / 481.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/0.396, allocations: 2.84 MB / 484.2 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.3962, allocations: 254.6 kB / 484.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006844/0.3969, allocations: 332 kB / 484.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/0.4054, allocations: 4.559 MB / 489.3 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.237e-05/0.4055, allocations: 3.953 kB / 489.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.4059, allocations: 136 kB / 489.5 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.406, allocations: 154.7 kB / 489.6 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007443/0.4135, allocations: 3.922 MB / 493.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/0.4388, allocations: 14.04 MB / 0.4957 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.4474, allocations: 6.839 MB / 0.5024 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.4506, allocations: 1.595 MB / 0.5039 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008848/0.4595, allocations: 4.487 MB / 0.5083 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4595, allocations: 51.88 kB / 0.5084 GB, free: 2.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.877e-06/0.4595, allocations: 0 / 0.5084 GB, free: 2.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01801/0.4775, allocations: 7.81 MB / 0.516 GB, free: 10.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.4776, allocations: 73.41 kB / 0.5161 GB, free: 10.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.4817, allocations: 2.661 MB / 0.5187 GB, free: 8.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.4819, allocations: 61.7 kB / 0.5187 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.4834, allocations: 1.666 MB / 0.5203 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.484, allocations: 0.6545 MB / 0.521 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.4846, allocations: 335.5 kB / 0.5213 GB, free: 5.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4848, allocations: 305.1 kB / 0.5216 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.4865, allocations: 0.9097 MB / 0.5225 GB, free: 4.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.4886, allocations: 1.31 MB / 0.5238 GB, free: 2.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.4926, allocations: 2.359 MB / 0.5261 GB, free: 276 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4926, allocations: 4 kB / 0.5261 GB, free: 272 kB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006306/0.4989, allocations: 3.066 MB / 0.5291 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.4989, allocations: 12 kB / 0.5291 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4989, allocations: 8 kB / 0.5291 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.5006, allocations: 0.5518 MB / 0.5296 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5024, allocations: 435.3 kB / 0.53 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.5132, allocations: 7.609 MB / 0.5375 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.515, allocations: 79.94 kB / 0.5375 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.5153, allocations: 79.97 kB / 0.5376 GB, free: 4.141 MB / 446.1 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.002377/0.5177, allocations: 1.173 MB / 0.5388 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007123/0.5184, allocations: 274.2 kB / 0.539 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006152/0.5245, allocations: 2.866 MB / 0.5418 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.5246, allocations: 31.88 kB / 0.5418 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/0.5246, allocations: 8 kB / 0.5419 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.5246, allocations: 11.95 kB / 0.5419 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.5376, allocations: 6.318 MB / 0.548 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5376, allocations: 0 / 0.548 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.539, allocations: 283.6 kB / 0.5483 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.5408, allocations: 0.6198 MB / 0.5489 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.5409, allocations: 55.97 kB / 0.549 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.5553, allocations: 11.46 MB / 0.5602 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5553, allocations: 0 / 0.5602 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/0.5637, allocations: 4.154 MB / 0.5642 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/0.5654, allocations: 0.5616 MB / 0.5648 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/0.566, allocations: 36 kB / 0.5648 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.5676, allocations: 83.86 kB / 0.5649 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.5679, allocations: 141.8 kB / 0.565 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.5681, allocations: 55.97 kB / 0.5651 GB, free: 7.277 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003536/0.5716, allocations: 1.859 MB / 0.5669 GB, free: 5.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5716, allocations: 0 / 0.5669 GB, free: 5.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002985/0.5746, allocations: 0.6992 MB / 0.5676 GB, free: 4.707 MB / 478.1 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.001694/0.5763, allocations: 460.9 kB / 0.568 GB, free: 4.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005715/0.582, allocations: 2.727 MB / 0.5707 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.582, allocations: 0 / 0.5707 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.5857, allocations: 1.845 MB / 0.5725 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.5895, allocations: 0.6 MB / 0.5731 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.605, allocations: 7.188 MB / 0.5801 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/0.6086, allocations: 2.579 MB / 0.5826 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/0.6095, allocations: 187.4 kB / 0.5828 GB, free: 5.121 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6095, allocations: 0 / 0.5828 GB, free: 5.121 MB / 494.1 MB Notification: Performance of Templates: time 0.2999/0.9094, allocations: 102 MB / 0.6824 GB, free: 123.7 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.122164772998076]