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_withLosses.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.001294/0.001294, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001447/0.001447, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.574/1.574, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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_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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 51.91 kB / 371.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 52.19 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01718/0.2656, allocations: 13.74 MB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009819/0.2754, allocations: 5.012 MB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.2778, allocations: 99.44 kB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.2811, allocations: 1.079 MB / 443.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.2858, allocations: 1.472 MB / 445.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.2887, allocations: 0.9847 MB / 446.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006583/0.2953, allocations: 4.314 MB / 450.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.299, allocations: 1.857 MB / 452.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.3022, allocations: 2.06 MB / 454.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.3067, allocations: 2.312 MB / 456.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.3082, allocations: 0.5352 MB / 457.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.3108, allocations: 0.9993 MB / 458.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.3128, allocations: 1.379 MB / 459.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004059/0.3168, allocations: 2.349 MB / 462.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.3271, allocations: 7.385 MB / 469.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3271, allocations: 8 kB / 469.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3271, allocations: 0 / 469.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.3273, allocations: 0 / 469.5 MB, free: 0.832 MB / 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.01484/0.3422, allocations: 5.018 MB / 474.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3422, allocations: 12.02 kB / 474.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.3473, allocations: 0.8921 MB / 475.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.3544, allocations: 2.74 MB / 478.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.3547, allocations: 254.6 kB / 478.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.3558, allocations: 335.9 kB / 478.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.3677, allocations: 4.555 MB / 483.3 MB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/0.3679, allocations: 11.89 kB / 483.3 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008354/0.3687, allocations: 132 kB / 483.5 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.3689, allocations: 154.7 kB / 483.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009421/0.3784, allocations: 3.915 MB / 487.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.4086, allocations: 13.85 MB / 0.4896 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007165/0.4158, allocations: 2.973 MB / 0.4925 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/0.4194, allocations: 1.575 MB / 0.4941 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009808/0.4292, allocations: 4.005 MB / 0.498 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.4292, allocations: 51.86 kB / 0.498 GB, free: 7.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.96e-06/0.4292, allocations: 0 / 0.498 GB, free: 7.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01984/0.4491, allocations: 7.416 MB / 0.5053 GB, free: 0.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4491, allocations: 73.41 kB / 0.5053 GB, free: 468 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/0.4542, allocations: 2.628 MB / 0.5079 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.4546, allocations: 61.69 kB / 0.508 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.4562, allocations: 1.654 MB / 0.5096 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008843/0.457, allocations: 0.6506 MB / 0.5102 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000892/0.4579, allocations: 335.5 kB / 0.5105 GB, free: 11.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4581, allocations: 309.1 kB / 0.5108 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.46, allocations: 0.9096 MB / 0.5117 GB, free: 9.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.4622, allocations: 1.306 MB / 0.513 GB, free: 8.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.4665, allocations: 2.355 MB / 0.5153 GB, free: 5.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.4665, allocations: 0 / 0.5153 GB, free: 5.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006771/0.4733, allocations: 3.066 MB / 0.5183 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.4733, allocations: 11.28 kB / 0.5183 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.4733, allocations: 15.94 kB / 0.5183 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.475, allocations: 0.5519 MB / 0.5188 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.477, allocations: 423.3 kB / 0.5192 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.4882, allocations: 7.401 MB / 0.5265 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.49, allocations: 87.94 kB / 0.5266 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.4904, allocations: 76.05 kB / 0.5266 GB, free: 10.03 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.002549/0.4929, allocations: 1.161 MB / 0.5278 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008221/0.4937, allocations: 266.3 kB / 0.528 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006374/0.5001, allocations: 2.858 MB / 0.5308 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/0.5002, allocations: 23.98 kB / 0.5308 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/0.5002, allocations: 12.06 kB / 0.5308 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.5002, allocations: 11.97 kB / 0.5309 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2093/0.7095, allocations: 6.291 MB / 0.537 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.7095, allocations: 1.734 kB / 0.537 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.7112, allocations: 283.9 kB / 0.5373 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.7129, allocations: 0.6073 MB / 0.5379 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.7131, allocations: 48.69 kB / 0.5379 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00942/0.7225, allocations: 11.04 MB / 0.5487 GB, free: 96.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7225, allocations: 0 / 0.5487 GB, free: 96.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/0.7288, allocations: 4.137 MB / 0.5527 GB, free: 95.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.73, allocations: 496.8 kB / 0.5532 GB, free: 95.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.7304, allocations: 46.19 kB / 0.5532 GB, free: 95.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.7315, allocations: 86.91 kB / 0.5533 GB, free: 95.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.7318, allocations: 143.3 kB / 0.5535 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.7319, allocations: 54.75 kB / 0.5535 GB, free: 95.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.7341, allocations: 1.844 MB / 0.5553 GB, free: 94.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7341, allocations: 0 / 0.5553 GB, free: 94.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002985/0.7371, allocations: 0.6895 MB / 0.556 GB, free: 94.29 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.001904/0.739, allocations: 444 kB / 0.5564 GB, free: 94.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004829/0.7438, allocations: 2.733 MB / 0.5591 GB, free: 92.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.7438, allocations: 2.938 kB / 0.5591 GB, free: 92.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.7466, allocations: 1.838 MB / 0.5609 GB, free: 91.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.7497, allocations: 0.5935 MB / 0.5615 GB, free: 91.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.7614, allocations: 7.192 MB / 0.5685 GB, free: 84.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.7637, allocations: 2.571 MB / 0.571 GB, free: 81.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.7645, allocations: 183.4 kB / 0.5712 GB, free: 81.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7645, allocations: 0 / 0.5712 GB, free: 81.7 MB / 446.1 MB Notification: Performance of Templates: time 0.1218/0.8863, allocations: 100.8 MB / 0.6697 GB, free: 12.94 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.541599025949836]