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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=400000,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=400000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 200.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2415, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01529/0.2568, allocations: 14.07 MB / 423.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009811/0.2667, allocations: 5.202 MB / 428.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2687, allocations: 83.69 kB / 428.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.2713, allocations: 1.154 MB / 429.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.275, allocations: 1.429 MB / 431.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.2775, allocations: 1.001 MB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.2823, allocations: 4.121 MB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003565/0.2859, allocations: 3.249 MB / 439.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.2883, allocations: 1.943 MB / 441.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.2909, allocations: 2.297 MB / 443.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.2915, allocations: 0.5078 MB / 444.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.2927, allocations: 0.7692 MB / 445.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.2936, allocations: 1.141 MB / 446.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.2955, allocations: 2.147 MB / 448.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.3016, allocations: 6.844 MB / 455.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3016, allocations: 0 / 455.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3016, allocations: 0 / 455.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.3017, allocations: 3.938 kB / 455.2 MB, free: 3.383 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.009849/0.3116, allocations: 4.518 MB / 459.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.3116, allocations: 12.03 kB / 459.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.3158, allocations: 0.8279 MB / 460.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.3198, allocations: 2.49 MB / 463.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3199, allocations: 238.4 kB / 463.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.3204, allocations: 319.9 kB / 463.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006552/0.327, allocations: 4.288 MB / 467.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/0.3271, allocations: 11.83 kB / 467.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.3274, allocations: 128 kB / 468 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.3275, allocations: 158.4 kB / 468.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005706/0.3332, allocations: 3.629 MB / 471.8 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.3511, allocations: 13.33 MB / 485.2 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006585/0.3577, allocations: 7.246 MB / 492.4 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/0.3606, allocations: 1.636 MB / 494 MB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006558/0.3672, allocations: 4.299 MB / 498.3 MB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.3684, allocations: 0.8727 MB / 499.2 MB, free: 5.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.715e-06/0.3685, allocations: 0 / 499.2 MB, free: 5.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01192/0.3804, allocations: 6.708 MB / 0.4941 GB, free: 14.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.3805, allocations: 226.9 kB / 0.4943 GB, free: 14.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.383, allocations: 1.928 MB / 0.4962 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/0.3831, allocations: 57.64 kB / 0.4962 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.3843, allocations: 1.49 MB / 0.4977 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.3847, allocations: 489 kB / 0.4981 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/0.3852, allocations: 303.3 kB / 0.4984 GB, free: 10.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.3853, allocations: 309.1 kB / 0.4987 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3863, allocations: 0.6793 MB / 0.4994 GB, free: 9.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3878, allocations: 1.225 MB / 0.5006 GB, free: 7.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.3903, allocations: 1.962 MB / 0.5025 GB, free: 5.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.3903, allocations: 4 kB / 0.5025 GB, free: 5.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00386/0.3942, allocations: 2.507 MB / 0.5049 GB, free: 3.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3942, allocations: 12 kB / 0.505 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3942, allocations: 19.94 kB / 0.505 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008047/0.395, allocations: 339.4 kB / 0.5053 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.3964, allocations: 375.4 kB / 0.5057 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/0.4025, allocations: 6.794 MB / 0.5123 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4038, allocations: 91.86 kB / 0.5124 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4039, allocations: 68 kB / 0.5124 GB, free: 10.93 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.001603/0.4055, allocations: 1.043 MB / 0.5135 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.4058, allocations: 209.5 kB / 0.5137 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.4097, allocations: 2.352 MB / 0.516 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4097, allocations: 16 kB / 0.516 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4098, allocations: 8 kB / 0.516 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4098, allocations: 7.969 kB / 0.516 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007482/0.4173, allocations: 5.217 MB / 0.5211 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4173, allocations: 0 / 0.5211 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.418, allocations: 179.8 kB / 0.5213 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.4194, allocations: 0.5 MB / 0.5217 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4195, allocations: 40.17 kB / 0.5218 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.4301, allocations: 11.58 MB / 0.5331 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4301, allocations: 4.172 kB / 0.5331 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.4352, allocations: 3.248 MB / 0.5363 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/0.436, allocations: 442.5 kB / 0.5367 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.4363, allocations: 31.98 kB / 0.5367 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.4371, allocations: 63.95 kB / 0.5368 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.4373, allocations: 97.11 kB / 0.5369 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/0.4374, allocations: 47.98 kB / 0.5369 GB, free: 0.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2067/0.6441, allocations: 1.326 MB / 0.5382 GB, free: 122.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6442, allocations: 0.5312 kB / 0.5382 GB, free: 122.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00286/0.647, allocations: 0.5884 MB / 0.5388 GB, free: 122.3 MB / 462.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.001028/0.6481, allocations: 476.5 kB / 0.5392 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.6512, allocations: 2.228 MB / 0.5414 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6512, allocations: 0 / 0.5414 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6532, allocations: 1.621 MB / 0.543 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.6553, allocations: 0.5556 MB / 0.5435 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.6628, allocations: 5.788 MB / 0.5492 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.6643, allocations: 2.366 MB / 0.5515 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001123/0.6655, allocations: 406.6 kB / 0.5519 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.6658, allocations: 135.6 kB / 0.552 GB, free: 116.9 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6658, allocations: 0.7656 kB / 0.552 GB, free: 116.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04396/0.7097, allocations: 31.17 MB / 0.5825 GB, free: 89.54 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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) 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.0.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) Reference file matches