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.001392/0.001392, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001124/0.001124, allocations: 161.5 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9463/0.9463, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.563e-06/1.563e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.673e-05, allocations: 2.844 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01212/0.01214, allocations: 13.48 MB / 287.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00921/0.02135, allocations: 5.074 MB / 292.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.02402, allocations: 103.4 kB / 292.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.02737, allocations: 1.114 MB / 294 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.03221, allocations: 1.471 MB / 295.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.03496, allocations: 0.9914 MB / 296.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00579/0.04075, allocations: 4.311 MB / 300.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.04327, allocations: 1.754 MB / 302.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.048, allocations: 2.998 MB / 305.5 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.05128, allocations: 2.007 MB / 307.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009541/0.05223, allocations: 0.5039 MB / 308 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.05402, allocations: 0.7534 MB / 308.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008802/0.0549, allocations: 1.176 MB / 309.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.05714, allocations: 1.45 MB / 311.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.06194, allocations: 3.536 MB / 314.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.06194, allocations: 4 kB / 314.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06195, allocations: 0 / 314.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001152/0.06206, allocations: 0 / 314.9 MB, free: 11.5 MB / 298.7 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.007205/0.06927, allocations: 4.639 MB / 319.6 MB, free: 6.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.06931, allocations: 12.03 kB / 319.6 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.07224, allocations: 1.165 MB / 320.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.07602, allocations: 2.263 MB / 323 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.07618, allocations: 246.4 kB / 323.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004822/0.07667, allocations: 319.9 kB / 323.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/0.08007, allocations: 2.377 MB / 325.9 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.913e-05/0.08013, allocations: 3.953 kB / 325.9 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.08034, allocations: 136 kB / 326.1 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.08048, allocations: 158.4 kB / 326.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.08213, allocations: 0.9377 MB / 327.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.09498, allocations: 10.48 MB / 337.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.09746, allocations: 1.906 MB / 339.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.09868, allocations: 0.9161 MB / 340.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003829/0.1025, allocations: 2.569 MB / 343 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.1032, allocations: 0.6693 MB / 343.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.985e-06/0.1032, allocations: 0 / 343.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.006068/0.1092, allocations: 3.443 MB / 347.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.1093, allocations: 222.9 kB / 347.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.1109, allocations: 1.449 MB / 348.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/0.111, allocations: 53.7 kB / 348.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.1122, allocations: 1.626 MB / 350.5 MB, free: 7.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.1125, allocations: 0.5153 MB / 351 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.1129, allocations: 348.9 kB / 351.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.113, allocations: 480.8 kB / 351.8 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.1133, allocations: 191.8 kB / 352 MB, free: 5.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.114, allocations: 1.129 MB / 353.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1151, allocations: 1.25 MB / 354.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1151, allocations: 7.938 kB / 354.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001998/0.1171, allocations: 1.448 MB / 355.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.1171, allocations: 16.27 kB / 355.9 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.1171, allocations: 16 kB / 355.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.1177, allocations: 270.5 kB / 356.1 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.1185, allocations: 363.4 kB / 356.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1452/0.2637, allocations: 6.717 MB / 363.2 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.2649, allocations: 83 kB / 363.3 MB, free: 58.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.265, allocations: 63.16 kB / 363.4 MB, free: 58.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * 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.0008105/0.2658, allocations: 274.5 kB / 363.6 MB, free: 57.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.2662, allocations: 234.9 kB / 363.9 MB, free: 57.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.2682, allocations: 1.27 MB / 365.1 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.2682, allocations: 15.59 kB / 365.1 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.2682, allocations: 7.344 kB / 365.1 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.2682, allocations: 7.406 kB / 365.2 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/0.2727, allocations: 2.978 MB / 368.1 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2727, allocations: 1.25 kB / 368.1 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.2731, allocations: 166.3 kB / 368.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/0.274, allocations: 433.9 kB / 368.7 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.2741, allocations: 42.05 kB / 368.8 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.279, allocations: 11.47 MB / 380.2 MB, free: 47.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.279, allocations: 10.75 kB / 380.2 MB, free: 47.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.2812, allocations: 1.65 MB / 381.9 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005429/0.2818, allocations: 316.5 kB / 382.2 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.2819, allocations: 39.06 kB / 382.2 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.2824, allocations: 51.17 kB / 382.3 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.2826, allocations: 109.6 kB / 382.4 MB, free: 47.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.2826, allocations: 34.61 kB / 382.4 MB, free: 47.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007377/0.2834, allocations: 0.7721 MB / 383.2 MB, free: 47.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2834, allocations: 0 / 383.2 MB, free: 47.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001739/0.2851, allocations: 0.5845 MB / 383.8 MB, free: 47.23 MB / 330.7 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.001104/0.2862, allocations: 460.8 kB / 384.2 MB, free: 47.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.2879, allocations: 1.491 MB / 385.7 MB, free: 46.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2879, allocations: 0 / 385.7 MB, free: 46.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.289, allocations: 1.533 MB / 387.3 MB, free: 45.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2902, allocations: 465.7 kB / 387.7 MB, free: 45.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/0.2967, allocations: 5.038 MB / 392.8 MB, free: 43.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.2974, allocations: 0.8081 MB / 393.6 MB, free: 43.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007345/0.2981, allocations: 252.8 kB / 393.8 MB, free: 43.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/0.2988, allocations: 0.5022 MB / 394.3 MB, free: 43 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2988, allocations: 0 / 394.3 MB, free: 43 MB / 330.7 MB Notification: Performance of Templates: time 0.04106/0.3399, allocations: 30.52 MB / 424.8 MB, free: 14.6 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.797766832169145]