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_Conveyor.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.001323/0.001323, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001513/0.001513, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.809 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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.94 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2437, allocations: 53.37 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01586/0.2595, allocations: 12.33 MB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2696, allocations: 4.952 MB / 449.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.2721, allocations: 99.38 kB / 449.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.2754, allocations: 1.103 MB / 450.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.28, allocations: 1.426 MB / 452.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.2827, allocations: 0.9854 MB / 453.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005997/0.2887, allocations: 4.133 MB / 457.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.2915, allocations: 1.817 MB / 459.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.2946, allocations: 1.982 MB / 461.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/0.2984, allocations: 2.328 MB / 463.5 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.2995, allocations: 0.5078 MB / 464 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.3012, allocations: 0.7614 MB / 464.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3024, allocations: 1.149 MB / 465.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.3047, allocations: 1.696 MB / 467.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007885/0.3126, allocations: 6.887 MB / 474.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3126, allocations: 0 / 474.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3126, allocations: 0 / 474.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001809/0.3128, allocations: 3.984 kB / 474.5 MB, free: 12.39 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01194/0.3247, allocations: 4.532 MB / 479 MB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3248, allocations: 8.031 kB / 479.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.3293, allocations: 0.8377 MB / 479.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.3346, allocations: 2.416 MB / 482.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.3348, allocations: 238.4 kB / 482.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007222/0.3356, allocations: 323.9 kB / 482.9 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.3436, allocations: 4.443 MB / 487.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-05/0.3436, allocations: 15.89 kB / 487.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.3439, allocations: 124 kB / 487.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.3441, allocations: 154.4 kB / 487.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/0.3505, allocations: 3.633 MB / 491.2 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.3711, allocations: 11.38 MB / 0.4908 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/0.3765, allocations: 2.702 MB / 0.4935 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.3794, allocations: 1.509 MB / 0.4949 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007195/0.3866, allocations: 3.459 MB / 0.4983 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.3881, allocations: 1.016 MB / 0.4993 GB, free: 7.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.417e-06/0.3881, allocations: 0 / 0.4993 GB, free: 7.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01311/0.4013, allocations: 6.139 MB / 0.5053 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.4014, allocations: 226.9 kB / 0.5055 GB, free: 0.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.404, allocations: 1.722 MB / 0.5072 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4041, allocations: 49.7 kB / 0.5072 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.4056, allocations: 1.544 MB / 0.5088 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.406, allocations: 0.4997 MB / 0.5092 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/0.4065, allocations: 311.4 kB / 0.5095 GB, free: 12.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4067, allocations: 305.1 kB / 0.5098 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.4079, allocations: 0.6832 MB / 0.5105 GB, free: 11.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.4096, allocations: 1.4 MB / 0.5119 GB, free: 9.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.4125, allocations: 1.97 MB / 0.5138 GB, free: 7.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.4125, allocations: 4 kB / 0.5138 GB, free: 7.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004393/0.4169, allocations: 2.425 MB / 0.5162 GB, free: 5.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4169, allocations: 12 kB / 0.5162 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.417, allocations: 16 kB / 0.5162 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/0.4179, allocations: 343.4 kB / 0.5165 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4194, allocations: 375.4 kB / 0.5169 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/0.4264, allocations: 6.356 MB / 0.5231 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4279, allocations: 92.06 kB / 0.5232 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4281, allocations: 75.97 kB / 0.5232 GB, free: 13.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001787/0.4299, allocations: 1.036 MB / 0.5243 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.4303, allocations: 190.8 kB / 0.5244 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.4347, allocations: 2.172 MB / 0.5266 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4347, allocations: 12 kB / 0.5266 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4347, allocations: 8 kB / 0.5266 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.4347, allocations: 8.156 kB / 0.5266 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008507/0.4432, allocations: 4.338 MB / 0.5308 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4432, allocations: 7.938 kB / 0.5308 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.4441, allocations: 183.7 kB / 0.531 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.4455, allocations: 0.5032 MB / 0.5315 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.4456, allocations: 43.92 kB / 0.5315 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2451/0.6906, allocations: 10.79 MB / 0.5421 GB, free: 95.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.6906, allocations: 1.469 kB / 0.5421 GB, free: 95.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005297/0.6959, allocations: 3.075 MB / 0.5451 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.6971, allocations: 355.6 kB / 0.5454 GB, free: 93.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.6974, allocations: 37.28 kB / 0.5454 GB, free: 93.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/0.6983, allocations: 65.67 kB / 0.5455 GB, free: 93.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.6987, allocations: 108.4 kB / 0.5456 GB, free: 93.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.6988, allocations: 42.48 kB / 0.5457 GB, free: 93.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.7005, allocations: 1.17 MB / 0.5468 GB, free: 93.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7005, allocations: 0 / 0.5468 GB, free: 93.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002251/0.7027, allocations: 0.585 MB / 0.5474 GB, free: 93.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/0.7045, allocations: 0.5122 MB / 0.5479 GB, free: 93.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.7078, allocations: 2.083 MB / 0.5499 GB, free: 92.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7078, allocations: 0 / 0.5499 GB, free: 92.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.7099, allocations: 1.556 MB / 0.5514 GB, free: 91.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.7121, allocations: 444.5 kB / 0.5518 GB, free: 90.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.7213, allocations: 5.904 MB / 0.5576 GB, free: 86.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.7229, allocations: 1.754 MB / 0.5593 GB, free: 85.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.7234, allocations: 146.8 kB / 0.5595 GB, free: 85.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7234, allocations: 0 / 0.5595 GB, free: 85.45 MB / 446.1 MB Notification: Performance of Templates: time 0.09655/0.82, allocations: 115.1 MB / 0.6719 GB, free: 3.242 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.076502124982653]