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.001929/0.001929, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002242/0.002242, allocations: 184.7 kB / 23.71 MB, free: 4.434 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.441/1.441, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001568/0.001568, allocations: 44.08 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01505/0.2366, allocations: 11.95 MB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008647/0.2452, allocations: 4.712 MB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2468, allocations: 99.44 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.2493, allocations: 1.021 MB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.2538, allocations: 1.449 MB / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.2564, allocations: 0.956 MB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00564/0.262, allocations: 4.315 MB / 447.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.2647, allocations: 1.775 MB / 449.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.2675, allocations: 2.064 MB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.2712, allocations: 2.175 MB / 453.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008694/0.2721, allocations: 0.5352 MB / 454.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.2738, allocations: 0.8938 MB / 455.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2752, allocations: 1.371 MB / 456.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.2774, allocations: 1.847 MB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008091/0.2855, allocations: 7.4 MB / 465.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2855, allocations: 0 / 465.7 MB, free: 3.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2855, allocations: 4 kB / 465.7 MB, free: 3.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.2856, allocations: 3.938 kB / 465.7 MB, free: 3.676 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.01223/0.2978, allocations: 5.013 MB / 470.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.2979, allocations: 16.02 kB / 470.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/0.3023, allocations: 0.8921 MB / 471.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.3077, allocations: 2.721 MB / 474.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3079, allocations: 258.6 kB / 474.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005789/0.3085, allocations: 335.9 kB / 474.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/0.3169, allocations: 4.694 MB / 479.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-05/0.3169, allocations: 7.953 kB / 479.6 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003244/0.3173, allocations: 136 kB / 479.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.3175, allocations: 158.7 kB / 479.9 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007369/0.3248, allocations: 3.907 MB / 483.8 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.3471, allocations: 12.1 MB / 495.9 MB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/0.3535, allocations: 2.952 MB / 498.9 MB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/0.3566, allocations: 1.58 MB / 0.4887 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008048/0.3647, allocations: 3.571 MB / 0.4922 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.3647, allocations: 51.86 kB / 0.4922 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 5.39e-06/0.3647, allocations: 0 / 0.4922 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01721/0.382, allocations: 7.403 MB / 0.4995 GB, free: 5.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.382, allocations: 69.41 kB / 0.4995 GB, free: 5.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.3855, allocations: 2.422 MB / 0.5019 GB, free: 2.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.3857, allocations: 57.7 kB / 0.502 GB, free: 2.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.3871, allocations: 1.665 MB / 0.5036 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/0.3877, allocations: 0.6546 MB / 0.5042 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005529/0.3882, allocations: 331.5 kB / 0.5045 GB, free: 188 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3883, allocations: 313.1 kB / 0.5048 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.39, allocations: 0.9019 MB / 0.5057 GB, free: 14.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.392, allocations: 1.331 MB / 0.507 GB, free: 13.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.3959, allocations: 2.359 MB / 0.5093 GB, free: 10.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3959, allocations: 4 kB / 0.5093 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00576/0.4017, allocations: 3.043 MB / 0.5123 GB, free: 7.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4017, allocations: 8 kB / 0.5123 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.4017, allocations: 12 kB / 0.5123 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.4033, allocations: 0.5441 MB / 0.5128 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4051, allocations: 435.3 kB / 0.5133 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.4154, allocations: 7.223 MB / 0.5203 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4168, allocations: 83.94 kB / 0.5204 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.417, allocations: 79.98 kB / 0.5205 GB, free: 15.32 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.00202/0.419, allocations: 1.157 MB / 0.5216 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.4195, allocations: 254.4 kB / 0.5218 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.4251, allocations: 2.837 MB / 0.5246 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/0.4251, allocations: 23.94 kB / 0.5246 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.4251, allocations: 11.94 kB / 0.5246 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.4252, allocations: 11.97 kB / 0.5247 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.4356, allocations: 5.473 MB / 0.53 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4356, allocations: 0 / 0.53 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.437, allocations: 291.7 kB / 0.5303 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.4387, allocations: 0.62 MB / 0.5309 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.4388, allocations: 47.97 kB / 0.5309 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.202/0.6408, allocations: 10.77 MB / 0.5414 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6408, allocations: 5.953 kB / 0.5415 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006423/0.6472, allocations: 4.125 MB / 0.5455 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.6483, allocations: 473.7 kB / 0.5459 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.6485, allocations: 41.72 kB / 0.546 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.6496, allocations: 81.33 kB / 0.5461 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.6499, allocations: 149.1 kB / 0.5462 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.65, allocations: 58.14 kB / 0.5462 GB, free: 101.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.6518, allocations: 1.682 MB / 0.5479 GB, free: 100.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6518, allocations: 0 / 0.5479 GB, free: 100.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001762/0.6536, allocations: 0.6904 MB / 0.5486 GB, free: 100.5 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.001546/0.6552, allocations: 470.8 kB / 0.549 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.6592, allocations: 2.73 MB / 0.5517 GB, free: 99.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6592, allocations: 0 / 0.5517 GB, free: 99.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.6616, allocations: 1.842 MB / 0.5535 GB, free: 97.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6635, allocations: 485.1 kB / 0.5539 GB, free: 97.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/0.6724, allocations: 7.161 MB / 0.5609 GB, free: 90.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.6741, allocations: 2.065 MB / 0.563 GB, free: 89.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.6754, allocations: 480 kB / 0.5634 GB, free: 88.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.6758, allocations: 159.4 kB / 0.5636 GB, free: 88.78 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6758, allocations: 0 / 0.5636 GB, free: 88.78 MB / 446.1 MB Notification: Performance of Templates: time 0.05301/0.7288, allocations: 39.33 MB / 0.602 GB, free: 49.9 MB / 446.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/jenkins/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/jenkins/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: 7.410359058529139]