Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.001777/0.001777, allocations: 107 kB / 19.8 MB, free: 2.5 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.002281/0.002281, allocations: 215.2 kB / 23 MB, free: 5.574 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.418/1.418, allocations: 230.2 MB / 256.2 MB, free: 8.523 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_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2408, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01796/0.2587, allocations: 14.19 MB / 444 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2689, allocations: 5.243 MB / 449.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.2706, allocations: 83.69 kB / 449.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.2733, allocations: 1.157 MB / 450.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.2768, allocations: 1.429 MB / 451.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.279, allocations: 1.024 MB / 452.9 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.2838, allocations: 4.125 MB / 457.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.2862, allocations: 1.805 MB / 458.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.2892, allocations: 1.939 MB / 460.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.2924, allocations: 2.336 MB / 463.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.2931, allocations: 0.5078 MB / 463.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.2944, allocations: 0.7692 MB / 464.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.2955, allocations: 1.153 MB / 465.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.2978, allocations: 2.155 MB / 467.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007466/0.3052, allocations: 6.86 MB / 474.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3052, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3052, allocations: 0 / 474.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001191/0.3053, allocations: 4 kB / 474.6 MB, free: 10.53 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.01105/0.3164, allocations: 4.608 MB / 479.2 MB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3164, allocations: 12.03 kB / 479.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.3207, allocations: 0.8338 MB / 480.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.3252, allocations: 2.5 MB / 482.6 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3254, allocations: 242.4 kB / 482.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.3259, allocations: 323.9 kB / 483.1 MB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007513/0.3334, allocations: 4.288 MB / 487.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/0.3335, allocations: 15.89 kB / 487.4 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.3338, allocations: 131.9 kB / 487.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.334, allocations: 154.4 kB / 487.7 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006538/0.3405, allocations: 3.636 MB / 491.3 MB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.3628, allocations: 13.37 MB / 0.4929 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.3713, allocations: 7.093 MB / 0.4998 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/0.3746, allocations: 1.538 MB / 0.5013 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00811/0.3827, allocations: 4.335 MB / 0.5055 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/0.3842, allocations: 0.865 MB / 0.5064 GB, free: 12.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.206e-06/0.3842, allocations: 0 / 0.5064 GB, free: 12.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01397/0.3982, allocations: 6.753 MB / 0.513 GB, free: 5.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.3983, allocations: 218.9 kB / 0.5132 GB, free: 5.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.4017, allocations: 1.936 MB / 0.5151 GB, free: 3.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.4019, allocations: 53.7 kB / 0.5151 GB, free: 3.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.4034, allocations: 1.529 MB / 0.5166 GB, free: 2.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/0.4039, allocations: 0.5036 MB / 0.5171 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/0.4045, allocations: 315.5 kB / 0.5174 GB, free: 1.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4047, allocations: 301.1 kB / 0.5177 GB, free: 1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4059, allocations: 0.6754 MB / 0.5184 GB, free: 332 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4076, allocations: 1.225 MB / 0.5195 GB, free: 14.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.4106, allocations: 1.962 MB / 0.5215 GB, free: 12.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4106, allocations: 8 kB / 0.5215 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004705/0.4153, allocations: 2.524 MB / 0.5239 GB, free: 10.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.4153, allocations: 12 kB / 0.5239 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.4154, allocations: 16 kB / 0.524 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.4163, allocations: 335.2 kB / 0.5243 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4177, allocations: 371.4 kB / 0.5246 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/0.4254, allocations: 6.81 MB / 0.5313 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4271, allocations: 91.97 kB / 0.5314 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.4273, allocations: 75.98 kB / 0.5314 GB, free: 2.016 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.002121/0.4294, allocations: 1.036 MB / 0.5325 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/0.43, allocations: 214.6 kB / 0.5327 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2043/0.6342, allocations: 2.321 MB / 0.5349 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.6343, allocations: 15.14 kB / 0.5349 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.6343, allocations: 8.094 kB / 0.535 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.6343, allocations: 8.188 kB / 0.535 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/0.6423, allocations: 5.216 MB / 0.5401 GB, free: 97.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6423, allocations: 2.531 kB / 0.5401 GB, free: 97.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.6431, allocations: 176.9 kB / 0.5402 GB, free: 97.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.6443, allocations: 0.5027 MB / 0.5407 GB, free: 97.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.793e-05/0.6444, allocations: 39.39 kB / 0.5408 GB, free: 97.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.6526, allocations: 11.58 MB / 0.5521 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6526, allocations: 2.312 kB / 0.5521 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.6573, allocations: 3.236 MB / 0.5552 GB, free: 86.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.6582, allocations: 442.8 kB / 0.5556 GB, free: 86.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.6586, allocations: 35.3 kB / 0.5557 GB, free: 86.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.6594, allocations: 60.62 kB / 0.5557 GB, free: 86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.6597, allocations: 111 kB / 0.5558 GB, free: 85.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.6598, allocations: 37.77 kB / 0.5559 GB, free: 85.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.6614, allocations: 1.333 MB / 0.5572 GB, free: 85.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6614, allocations: 3.391 kB / 0.5572 GB, free: 85.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002192/0.6636, allocations: 0.5892 MB / 0.5578 GB, free: 85.37 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 (99): * Single equations (assignments): 92 * 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.001623/0.6653, allocations: 488 kB / 0.5582 GB, free: 85.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.6682, allocations: 2.165 MB / 0.5603 GB, free: 83.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6682, allocations: 2.953 kB / 0.5603 GB, free: 83.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.6701, allocations: 1.543 MB / 0.5619 GB, free: 82.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.6724, allocations: 0.5465 MB / 0.5624 GB, free: 81.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/0.68, allocations: 5.919 MB / 0.5682 GB, free: 75.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.6813, allocations: 2.364 MB / 0.5705 GB, free: 73.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.6824, allocations: 413.1 kB / 0.5709 GB, free: 73.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.6827, allocations: 139.4 kB / 0.571 GB, free: 72.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6827, allocations: 0 / 0.571 GB, free: 72.98 MB / 446.1 MB Notification: Performance of Templates: time 0.0446/0.7273, allocations: 32.12 MB / 0.6024 GB, free: 41.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.315577263012528]