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.001367/0.001367, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001536/0.001536, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.001994/0.001994, allocations: 71.89 kB / 378.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 53.41 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01863/0.3019, allocations: 12.5 MB / 444.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3137, allocations: 5.099 MB / 449.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.3167, allocations: 99.44 kB / 449.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.3205, allocations: 1.036 MB / 450.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.3259, allocations: 1.468 MB / 451.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.3295, allocations: 1.012 MB / 452.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007616/0.3371, allocations: 4.363 MB / 457.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003983/0.3411, allocations: 1.779 MB / 459 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.3449, allocations: 2.087 MB / 461.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.3498, allocations: 2.304 MB / 463.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.3514, allocations: 0.5352 MB / 464 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.3544, allocations: 0.9018 MB / 464.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.3565, allocations: 1.371 MB / 466.2 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003935/0.3604, allocations: 1.863 MB / 468.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3709, allocations: 7.439 MB / 475.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3709, allocations: 0 / 475.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3709, allocations: 0 / 475.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002485/0.3712, allocations: 0 / 475.5 MB, free: 10.43 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.01572/0.3869, allocations: 5.06 MB / 480.6 MB, free: 5.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.387, allocations: 15.98 kB / 480.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/0.3918, allocations: 0.9038 MB / 481.5 MB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.3983, allocations: 2.757 MB / 484.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3986, allocations: 251.1 kB / 484.5 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.3993, allocations: 343.9 kB / 484.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008802/0.4081, allocations: 4.702 MB / 489.6 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-05/0.4081, allocations: 11.95 kB / 489.6 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003328/0.4085, allocations: 136 kB / 489.7 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.4087, allocations: 154.7 kB / 489.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007484/0.4161, allocations: 3.911 MB / 493.8 MB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.4387, allocations: 12.12 MB / 0.494 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/0.4451, allocations: 2.971 MB / 0.4969 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.4481, allocations: 1.564 MB / 0.4985 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007766/0.4559, allocations: 3.602 MB / 0.502 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4559, allocations: 51.88 kB / 0.502 GB, free: 3.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.148e-06/0.4559, allocations: 0 / 0.502 GB, free: 3.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01662/0.4725, allocations: 7.425 MB / 0.5093 GB, free: 12.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.4726, allocations: 73.41 kB / 0.5093 GB, free: 11.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.4761, allocations: 2.464 MB / 0.5117 GB, free: 9.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4762, allocations: 57.7 kB / 0.5118 GB, free: 9.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.4776, allocations: 1.681 MB / 0.5134 GB, free: 7.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.4781, allocations: 0.6545 MB / 0.5141 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.4787, allocations: 343.4 kB / 0.5144 GB, free: 6.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4788, allocations: 305.1 kB / 0.5147 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4804, allocations: 0.9136 MB / 0.5156 GB, free: 5.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.4824, allocations: 1.327 MB / 0.5169 GB, free: 3.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/0.4862, allocations: 2.367 MB / 0.5192 GB, free: 1.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.4862, allocations: 4 kB / 0.5192 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005866/0.4921, allocations: 3.051 MB / 0.5222 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.4921, allocations: 8 kB / 0.5222 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.4921, allocations: 12 kB / 0.5222 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.4936, allocations: 0.5517 MB / 0.5227 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.4954, allocations: 431.3 kB / 0.5232 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.5056, allocations: 7.215 MB / 0.5302 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5073, allocations: 91.91 kB / 0.5303 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5075, allocations: 79.97 kB / 0.5304 GB, free: 5.816 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.002181/0.5097, allocations: 1.157 MB / 0.5315 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/0.5103, allocations: 258.3 kB / 0.5317 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.5161, allocations: 2.861 MB / 0.5345 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.5161, allocations: 23.94 kB / 0.5346 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/0.5162, allocations: 8 kB / 0.5346 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.5162, allocations: 7.969 kB / 0.5346 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2125/0.7287, allocations: 5.484 MB / 0.5399 GB, free: 99.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.7287, allocations: 0 / 0.5399 GB, free: 99.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.73, allocations: 278.8 kB / 0.5402 GB, free: 99.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.7316, allocations: 0.6112 MB / 0.5408 GB, free: 99.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.7317, allocations: 47.78 kB / 0.5408 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009288/0.741, allocations: 10.79 MB / 0.5514 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.741, allocations: 6.688 kB / 0.5514 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.7471, allocations: 4.128 MB / 0.5554 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.7483, allocations: 479.1 kB / 0.5559 GB, free: 89.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7485, allocations: 35.88 kB / 0.5559 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7496, allocations: 83.89 kB / 0.556 GB, free: 89.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.7499, allocations: 147.9 kB / 0.5561 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.75, allocations: 55.25 kB / 0.5562 GB, free: 89.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001974/0.7519, allocations: 1.713 MB / 0.5579 GB, free: 88.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7519, allocations: 3.906 kB / 0.5579 GB, free: 88.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002004/0.7539, allocations: 0.6887 MB / 0.5585 GB, free: 87.33 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.001623/0.7556, allocations: 458.5 kB / 0.559 GB, free: 87.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004146/0.7597, allocations: 2.741 MB / 0.5616 GB, free: 84.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7597, allocations: 3.938 kB / 0.5616 GB, free: 84.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.7621, allocations: 1.843 MB / 0.5634 GB, free: 82.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.7642, allocations: 0.4899 MB / 0.5639 GB, free: 82.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/0.7738, allocations: 7.158 MB / 0.5709 GB, free: 75.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.7756, allocations: 2.084 MB / 0.573 GB, free: 73.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.7771, allocations: 495.1 kB / 0.5734 GB, free: 72.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.7775, allocations: 163.4 kB / 0.5736 GB, free: 72.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7775, allocations: 0 / 0.5736 GB, free: 72.81 MB / 446.1 MB Notification: Performance of Templates: time 0.05552/0.8331, allocations: 39.8 MB / 0.6124 GB, free: 33.45 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.554365646094084]