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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_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=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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.5 MB / 230.3 MB, free: 7.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009031, allocations: 99.58 kB / 281.2 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.528e-05, allocations: 4 kB / 337.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09313, allocations: 50.41 MB / 387.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.5099, allocations: 113.7 MB / 0.4895 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5103, allocations: 99.92 kB / 0.4896 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4239/0.9342, allocations: 82.95 MB / 0.5706 GB, free: 58.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.9343, allocations: 0 / 0.5706 GB, free: 58.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000272/0.9345, allocations: 83 kB / 0.5706 GB, free: 58.55 MB / 426.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.008818/0.9434, allocations: 3.297 MB / 0.5739 GB, free: 57.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.9434, allocations: 11.62 kB / 0.5739 GB, free: 57.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.9474, allocations: 0.7443 MB / 0.5746 GB, free: 57.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.9544, allocations: 3.373 MB / 0.5779 GB, free: 56.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.9546, allocations: 105.6 kB / 0.578 GB, free: 56.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008879/0.9555, allocations: 194.3 kB / 0.5782 GB, free: 56.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00624/0.9618, allocations: 3.149 MB / 0.5812 GB, free: 56.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/0.9679, allocations: 3.66 MB / 0.5848 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.775e-05/0.968, allocations: 6.938 kB / 0.5848 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.9682, allocations: 0 / 0.5848 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.9684, allocations: 156.7 kB / 0.585 GB, free: 56.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.9852, allocations: 12.85 MB / 0.5975 GB, free: 53.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004504/0.9898, allocations: 6.785 MB / 0.6042 GB, free: 48.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.9914, allocations: 1.291 MB / 0.6054 GB, free: 48.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/0.9974, allocations: 3.735 MB / 0.6091 GB, free: 47.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/0.9983, allocations: 0.7901 MB / 0.6098 GB, free: 47.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=130): time 2.785e-06/0.9983, allocations: 0 / 0.6098 GB, free: 47.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.009151/1.007, allocations: 5.255 MB / 0.615 GB, free: 45.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/1.008, allocations: 219.8 kB / 0.6152 GB, free: 44.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.009, allocations: 1.372 MB / 0.6165 GB, free: 44.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.01, allocations: 25.7 kB / 0.6165 GB, free: 44.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.011, allocations: 1.483 MB / 0.618 GB, free: 43.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.011, allocations: 460.6 kB / 0.6184 GB, free: 42.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/1.011, allocations: 0 / 0.6184 GB, free: 42.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/1.011, allocations: 374.6 kB / 0.6188 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/1.012, allocations: 0.5912 MB / 0.6194 GB, free: 42.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/1.013, allocations: 1.132 MB / 0.6205 GB, free: 41.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.014, allocations: 0.9343 MB / 0.6214 GB, free: 40.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.014, allocations: 3.906 kB / 0.6214 GB, free: 40.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003178/1.017, allocations: 2.294 MB / 0.6236 GB, free: 39.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.017, allocations: 15.81 kB / 0.6236 GB, free: 39.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.017, allocations: 19.09 kB / 0.6237 GB, free: 39.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/1.018, allocations: 270.4 kB / 0.6239 GB, free: 39.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.019, allocations: 379.8 kB / 0.6243 GB, free: 39.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/1.023, allocations: 5.608 MB / 0.6298 GB, free: 34.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.024, allocations: 59.17 kB / 0.6298 GB, free: 34.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.025, allocations: 74.39 kB / 0.6299 GB, free: 34.92 MB / 426.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.025, allocations: 161.4 kB / 0.63 GB, free: 34.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.025, allocations: 180.5 kB / 0.6302 GB, free: 34.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.028, allocations: 2.186 MB / 0.6323 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.028, allocations: 16.28 kB / 0.6324 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.028, allocations: 6.875 kB / 0.6324 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.029, allocations: 6.75 kB / 0.6324 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/1.035, allocations: 4.707 MB / 0.637 GB, free: 31.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.035, allocations: 4.094 kB / 0.637 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/1.036, allocations: 175.8 kB / 0.6371 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/1.037, allocations: 457.5 kB / 0.6376 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/1.037, allocations: 18.59 kB / 0.6376 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/1.044, allocations: 9.759 MB / 0.6471 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.044, allocations: 0 / 0.6471 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/1.048, allocations: 3.088 MB / 0.6501 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009195/1.049, allocations: 409.8 kB / 0.6505 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/1.05, allocations: 11.56 kB / 0.6505 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/1.05, allocations: 48.88 kB / 0.6506 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.051, allocations: 106.4 kB / 0.6507 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/1.051, allocations: 41.61 kB / 0.6507 GB, free: 21.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001296/1.052, allocations: 1.017 MB / 0.6517 GB, free: 20.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.052, allocations: 0 / 0.6517 GB, free: 20.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002158/1.054, allocations: 0.5511 MB / 0.6523 GB, free: 20.7 MB / 426.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/1.055, allocations: 0.5985 MB / 0.6528 GB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/1.058, allocations: 1.987 MB / 0.6548 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.058, allocations: 0 / 0.6548 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.06, allocations: 1.453 MB / 0.6562 GB, free: 18.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.062, allocations: 383.2 kB / 0.6566 GB, free: 18.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/1.07, allocations: 4.52 MB / 0.661 GB, free: 16.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/1.071, allocations: 2.415 MB / 0.6633 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001488/1.073, allocations: 385 kB / 0.6637 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.073, allocations: 124.9 kB / 0.6638 GB, free: 15.22 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/1.073, allocations: 0 / 0.6638 GB, free: 15.22 MB / 426.7 MB Notification: Performance of Templates: time 0.04104/1.114, allocations: 24.05 MB / 0.6873 GB, free: 1.227 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches