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.001273/0.001273, allocations: 107 kB / 19.8 MB, free: 2.5 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.001444/0.001444, allocations: 218.2 kB / 23 MB, free: 5.57 MB / 14.72 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.413/1.413, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.89 kB / 376.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2563, allocations: 53.33 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0176/0.2739, allocations: 14.39 MB / 444.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2842, allocations: 5.401 MB / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.2862, allocations: 83.69 kB / 449.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.2892, allocations: 1.099 MB / 450.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.2937, allocations: 1.472 MB / 452.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.2965, allocations: 1.035 MB / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006773/0.3032, allocations: 4.373 MB / 457.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/0.3071, allocations: 1.857 MB / 459.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.3107, allocations: 2.041 MB / 461.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/0.315, allocations: 2.433 MB / 464 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.3164, allocations: 0.5352 MB / 464.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3187, allocations: 0.933 MB / 465.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.3201, allocations: 1.383 MB / 466.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003261/0.3234, allocations: 2.357 MB / 469.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009432/0.3328, allocations: 7.42 MB / 476.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3328, allocations: 0 / 476.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3328, allocations: 0 / 476.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.333, allocations: 0 / 476.7 MB, free: 8.477 MB / 382.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.01253/0.3455, allocations: 5.143 MB / 481.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3455, allocations: 12.03 kB / 481.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.3501, allocations: 0.9077 MB / 482.7 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.3556, allocations: 2.836 MB / 485.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.3558, allocations: 251 kB / 485.8 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.3564, allocations: 339.9 kB / 486.1 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008936/0.3653, allocations: 4.555 MB / 490.7 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.3654, allocations: 3.953 kB / 490.7 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.3658, allocations: 140 kB / 490.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.3659, allocations: 150.7 kB / 491 MB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007447/0.3734, allocations: 3.93 MB / 494.9 MB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.3967, allocations: 14.04 MB / 0.497 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008137/0.4048, allocations: 6.834 MB / 0.5037 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.4078, allocations: 1.58 MB / 0.5052 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007856/0.4157, allocations: 4.506 MB / 0.5096 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.4157, allocations: 51.88 kB / 0.5097 GB, free: 9.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.416e-06/0.4157, allocations: 0 / 0.5097 GB, free: 9.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01744/0.4332, allocations: 7.814 MB / 0.5173 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4332, allocations: 73.41 kB / 0.5174 GB, free: 1.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/0.4371, allocations: 2.669 MB / 0.52 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.4374, allocations: 57.7 kB / 0.52 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.4388, allocations: 1.666 MB / 0.5217 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006699/0.4395, allocations: 0.6545 MB / 0.5223 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005951/0.4401, allocations: 335.5 kB / 0.5226 GB, free: 12.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4402, allocations: 305.1 kB / 0.5229 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4419, allocations: 0.9136 MB / 0.5238 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.4439, allocations: 1.302 MB / 0.5251 GB, free: 9.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.4478, allocations: 2.359 MB / 0.5274 GB, free: 7.117 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4478, allocations: 4 kB / 0.5274 GB, free: 7.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006134/0.4539, allocations: 3.074 MB / 0.5304 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.454, allocations: 15.94 kB / 0.5304 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.454, allocations: 8 kB / 0.5304 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.4556, allocations: 0.548 MB / 0.5309 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.4575, allocations: 435.3 kB / 0.5314 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2094/0.6669, allocations: 7.598 MB / 0.5388 GB, free: 95.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.6687, allocations: 87.55 kB / 0.5389 GB, free: 95.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.6689, allocations: 78.38 kB / 0.5389 GB, free: 95.37 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.0018/0.6707, allocations: 1.167 MB / 0.5401 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.6712, allocations: 270.4 kB / 0.5403 GB, free: 94.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.6759, allocations: 2.862 MB / 0.5431 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.676, allocations: 25.77 kB / 0.5432 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.676, allocations: 7.938 kB / 0.5432 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.676, allocations: 10.58 kB / 0.5432 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008941/0.6849, allocations: 6.343 MB / 0.5494 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.685, allocations: 3.938 kB / 0.5494 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.6862, allocations: 279.4 kB / 0.5496 GB, free: 90.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.6876, allocations: 0.6074 MB / 0.5502 GB, free: 90.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.6877, allocations: 49.77 kB / 0.5503 GB, free: 90.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009028/0.6968, allocations: 11.46 MB / 0.5615 GB, free: 81.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6968, allocations: 7.219 kB / 0.5615 GB, free: 81.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.7026, allocations: 4.156 MB / 0.5655 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/0.7035, allocations: 0.5598 MB / 0.5661 GB, free: 78.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.7038, allocations: 40 kB / 0.5661 GB, free: 78.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.7049, allocations: 71.94 kB / 0.5662 GB, free: 78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.7052, allocations: 148 kB / 0.5663 GB, free: 77.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.7053, allocations: 51.98 kB / 0.5664 GB, free: 77.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001939/0.7072, allocations: 1.867 MB / 0.5682 GB, free: 75.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7072, allocations: 5.844 kB / 0.5682 GB, free: 75.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001859/0.7091, allocations: 0.6966 MB / 0.5689 GB, free: 75.24 MB / 446.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.001409/0.7105, allocations: 437.7 kB / 0.5693 GB, free: 74.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003953/0.7145, allocations: 2.746 MB / 0.572 GB, free: 72.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7145, allocations: 2 kB / 0.572 GB, free: 72.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.7168, allocations: 1.845 MB / 0.5738 GB, free: 70.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.719, allocations: 0.5909 MB / 0.5744 GB, free: 69.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.7282, allocations: 7.214 MB / 0.5814 GB, free: 62.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/0.7298, allocations: 2.636 MB / 0.584 GB, free: 59.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001491/0.7313, allocations: 0.5047 MB / 0.5845 GB, free: 59.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.7317, allocations: 171.4 kB / 0.5846 GB, free: 59.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7317, allocations: 0 / 0.5846 GB, free: 59.14 MB / 446.1 MB Notification: Performance of Templates: time 0.05224/0.784, allocations: 37.13 MB / 0.6209 GB, free: 22.39 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.459827366285026]