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_Conveyor.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.001298/0.001298, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001292/0.001292, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.422/1.422, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.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_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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 366.8 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09214, allocations: 52.15 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01637/0.1085, allocations: 13.5 MB / 432.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.1174, allocations: 4.856 MB / 437.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.119, allocations: 79.69 kB / 437.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.1222, allocations: 1.146 MB / 438.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.1261, allocations: 1.422 MB / 440 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1285, allocations: 0.9931 MB / 441 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004962/0.1334, allocations: 4.059 MB / 445 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1912/0.3246, allocations: 2.257 MB / 447.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.3272, allocations: 1.925 MB / 449.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.3299, allocations: 2.201 MB / 451.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008486/0.3308, allocations: 0.5075 MB / 451.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.3324, allocations: 0.7548 MB / 452.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.3336, allocations: 1.147 MB / 453.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.3362, allocations: 2.142 MB / 456 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008426/0.3446, allocations: 6.827 MB / 462.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3446, allocations: 0.75 kB / 462.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3446, allocations: 0 / 462.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001676/0.3448, allocations: 4.562 kB / 462.8 MB, free: 7.973 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01242/0.3572, allocations: 4.577 MB / 467.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3573, allocations: 9.625 kB / 467.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.3616, allocations: 0.8414 MB / 468.2 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.3657, allocations: 2.471 MB / 470.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3658, allocations: 245 kB / 470.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/0.3664, allocations: 325.1 kB / 471.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007062/0.3734, allocations: 4.284 MB / 475.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/0.3735, allocations: 5.203 kB / 475.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.3738, allocations: 131.5 kB / 475.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.374, allocations: 160.4 kB / 475.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005801/0.3798, allocations: 3.624 MB / 479.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.4002, allocations: 13.28 MB / 492.7 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/0.4075, allocations: 6.828 MB / 499.6 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.4097, allocations: 1.247 MB / 0.4891 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/0.4167, allocations: 3.843 MB / 0.4928 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.4181, allocations: 0.8566 MB / 0.4937 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.036e-06/0.4181, allocations: 4 kB / 0.4937 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.0134/0.4315, allocations: 6.568 MB / 0.5001 GB, free: 2.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.4316, allocations: 222.9 kB / 0.5003 GB, free: 2.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.4346, allocations: 1.907 MB / 0.5021 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.4347, allocations: 49.7 kB / 0.5022 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.4363, allocations: 1.513 MB / 0.5037 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.4368, allocations: 0.5053 MB / 0.5042 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/0.4373, allocations: 303.5 kB / 0.5045 GB, free: 14.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4374, allocations: 308.9 kB / 0.5048 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4386, allocations: 0.6637 MB / 0.5054 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4402, allocations: 1.212 MB / 0.5066 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4431, allocations: 1.939 MB / 0.5085 GB, free: 9.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.4431, allocations: 5.125 kB / 0.5085 GB, free: 9.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00437/0.4475, allocations: 2.434 MB / 0.5109 GB, free: 7.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4475, allocations: 12 kB / 0.5109 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.4475, allocations: 12 kB / 0.5109 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.4483, allocations: 286.9 kB / 0.5112 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4498, allocations: 381.6 kB / 0.5115 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/0.4564, allocations: 6.389 MB / 0.5178 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4581, allocations: 99.91 kB / 0.5179 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.4582, allocations: 72.73 kB / 0.5179 GB, free: 15.8 MB / 430.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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002055/0.4603, allocations: 1.033 MB / 0.5189 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.4607, allocations: 206.7 kB / 0.5191 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.465, allocations: 2.246 MB / 0.5213 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.465, allocations: 19.94 kB / 0.5213 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4651, allocations: 4 kB / 0.5213 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4651, allocations: 7.969 kB / 0.5214 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008783/0.4739, allocations: 5.081 MB / 0.5263 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4739, allocations: 3.375 kB / 0.5263 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.4747, allocations: 186.4 kB / 0.5265 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.476, allocations: 462.5 kB / 0.5269 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.4761, allocations: 35.98 kB / 0.527 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.4879, allocations: 11.16 MB / 0.5379 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.488, allocations: 3.656 kB / 0.5379 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.4935, allocations: 3.143 MB / 0.5409 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.4946, allocations: 436.7 kB / 0.5414 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.4948, allocations: 35.92 kB / 0.5414 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.4958, allocations: 63.95 kB / 0.5415 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.4961, allocations: 111.4 kB / 0.5416 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.4962, allocations: 36 kB / 0.5416 GB, free: 6.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002229/0.4984, allocations: 1.311 MB / 0.5429 GB, free: 5.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4984, allocations: 0 / 0.5429 GB, free: 5.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002242/0.5007, allocations: 0.5859 MB / 0.5434 GB, free: 4.902 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 (102): * Single equations (assignments): 95 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.001693/0.5024, allocations: 0.4887 MB / 0.5439 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.5061, allocations: 2.098 MB / 0.546 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5061, allocations: 1.875 kB / 0.546 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.5086, allocations: 1.529 MB / 0.5475 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5112, allocations: 0.5415 MB / 0.548 GB, free: 404 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5226, allocations: 5.838 MB / 0.5537 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002273/0.5249, allocations: 2.305 MB / 0.5559 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/0.5255, allocations: 147.4 kB / 0.5561 GB, free: 8.059 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5255, allocations: 0 / 0.5561 GB, free: 8.059 MB / 462.1 MB Notification: Performance of Templates: time 0.3156/0.8411, allocations: 114.6 MB / 0.668 GB, free: 151.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.47030605887994]