Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 107.6 kB / 21.18 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 206.1 kB / 24.48 MB, free: 3.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2479, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01643/0.2644, allocations: 12.49 MB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.2747, allocations: 5.098 MB / 450 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.2772, allocations: 103.4 kB / 450.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.2809, allocations: 1.041 MB / 451.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005162/0.286, allocations: 1.472 MB / 452.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.289, allocations: 0.9997 MB / 453.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0065/0.2955, allocations: 4.385 MB / 458 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.2986, allocations: 1.868 MB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.3021, allocations: 2.083 MB / 461.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/0.3068, allocations: 2.429 MB / 464.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.3081, allocations: 0.5312 MB / 464.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.3106, allocations: 0.9213 MB / 465.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001787/0.3123, allocations: 1.375 MB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.3158, allocations: 1.859 MB / 469 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009364/0.3251, allocations: 7.443 MB / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.3251, allocations: 4 kB / 476.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3251, allocations: 0 / 476.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002202/0.3254, allocations: 0 / 476.5 MB, free: 10.4 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.01354/0.3389, allocations: 5.056 MB / 481.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3389, allocations: 8.031 kB / 481.5 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.344, allocations: 0.9155 MB / 482.5 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006844/0.3509, allocations: 2.749 MB / 485.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.3511, allocations: 254.6 kB / 485.5 MB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009737/0.3521, allocations: 332 kB / 485.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3625, allocations: 4.709 MB / 490.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.012e-05/0.3626, allocations: 3.953 kB / 490.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.3629, allocations: 143.9 kB / 490.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.3631, allocations: 154.6 kB / 490.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008416/0.3716, allocations: 3.911 MB / 494.7 MB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02545/0.397, allocations: 12.12 MB / 0.4949 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.4037, allocations: 2.958 MB / 0.4978 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/0.407, allocations: 1.575 MB / 0.4994 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008218/0.4152, allocations: 3.595 MB / 0.5029 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.4152, allocations: 51.88 kB / 0.5029 GB, free: 3.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.949e-06/0.4152, allocations: 0 / 0.5029 GB, free: 3.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01787/0.4331, allocations: 7.425 MB / 0.5102 GB, free: 12.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4332, allocations: 77.34 kB / 0.5103 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.4368, allocations: 2.464 MB / 0.5127 GB, free: 9.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.437, allocations: 53.7 kB / 0.5127 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.4383, allocations: 1.681 MB / 0.5143 GB, free: 7.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/0.439, allocations: 0.6545 MB / 0.515 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005884/0.4396, allocations: 343.4 kB / 0.5153 GB, free: 6.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4397, allocations: 309.1 kB / 0.5156 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.4414, allocations: 0.9058 MB / 0.5165 GB, free: 5.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.4433, allocations: 1.327 MB / 0.5178 GB, free: 3.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.4471, allocations: 2.355 MB / 0.5201 GB, free: 1.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.4471, allocations: 4 kB / 0.5201 GB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006091/0.4532, allocations: 3.062 MB / 0.5231 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.4532, allocations: 16.03 kB / 0.5231 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.4533, allocations: 8 kB / 0.5231 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.4549, allocations: 0.5477 MB / 0.5236 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4568, allocations: 427.4 kB / 0.5241 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.4669, allocations: 7.227 MB / 0.5311 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4687, allocations: 95.89 kB / 0.5312 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.4689, allocations: 76.06 kB / 0.5313 GB, free: 5.801 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.002159/0.4711, allocations: 1.165 MB / 0.5324 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/0.4717, allocations: 254.3 kB / 0.5327 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/0.4775, allocations: 2.857 MB / 0.5354 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/0.4775, allocations: 23.98 kB / 0.5355 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.4775, allocations: 8 kB / 0.5355 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.4775, allocations: 11.91 kB / 0.5355 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2193/0.6968, allocations: 5.484 MB / 0.5408 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.6968, allocations: 1.188 kB / 0.5408 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.6982, allocations: 279.6 kB / 0.5411 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6999, allocations: 0.6013 MB / 0.5417 GB, free: 98.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.7001, allocations: 54.59 kB / 0.5417 GB, free: 98.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009262/0.7094, allocations: 10.79 MB / 0.5523 GB, free: 90.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7094, allocations: 0 / 0.5523 GB, free: 90.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006049/0.7154, allocations: 4.132 MB / 0.5563 GB, free: 88.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.7168, allocations: 480.7 kB / 0.5568 GB, free: 88.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.7172, allocations: 36.42 kB / 0.5568 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7183, allocations: 85.72 kB / 0.5569 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.7187, allocations: 146.3 kB / 0.557 GB, free: 88.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.7188, allocations: 58.28 kB / 0.5571 GB, free: 88.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002023/0.7208, allocations: 1.71 MB / 0.5588 GB, free: 87.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7208, allocations: 3.906 kB / 0.5588 GB, free: 87.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002357/0.7231, allocations: 0.6923 MB / 0.5594 GB, free: 86.62 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.001678/0.7248, allocations: 469.4 kB / 0.5599 GB, free: 86.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.7291, allocations: 2.727 MB / 0.5626 GB, free: 83.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7291, allocations: 0 / 0.5626 GB, free: 83.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.7315, allocations: 1.846 MB / 0.5644 GB, free: 82.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.7338, allocations: 0.4981 MB / 0.5648 GB, free: 81.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.7439, allocations: 7.176 MB / 0.5719 GB, free: 74.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.7455, allocations: 2.022 MB / 0.5738 GB, free: 72.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/0.7463, allocations: 187.4 kB / 0.574 GB, free: 72.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.7463, allocations: 0 / 0.574 GB, free: 72.57 MB / 446.1 MB Notification: Performance of Templates: time 0.09724/0.8435, allocations: 101.7 MB / 0.6733 GB, free: 2.973 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.132152448000852]