Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 176.8 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 214.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007898, allocations: 82.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.159e-05, allocations: 0 / 315.5 MB, free: 22.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09396, allocations: 47.59 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4848, allocations: 112.4 MB / 475.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4851, allocations: 95.42 kB / 475.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4456/0.9308, allocations: 82.6 MB / 0.5451 GB, free: 89.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9308, allocations: 0 / 0.5451 GB, free: 89.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003253/0.9312, allocations: 83.23 kB / 0.5452 GB, free: 89.07 MB / 410.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.01128/0.9424, allocations: 3.297 MB / 0.5484 GB, free: 87.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9425, allocations: 8.406 kB / 0.5484 GB, free: 87.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.9473, allocations: 0.7351 MB / 0.5491 GB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009224/0.9566, allocations: 3.374 MB / 0.5524 GB, free: 87.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.9568, allocations: 102.1 kB / 0.5525 GB, free: 87.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009393/0.9577, allocations: 196.1 kB / 0.5527 GB, free: 87.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00596/0.9637, allocations: 3.148 MB / 0.5558 GB, free: 87.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.9695, allocations: 3.665 MB / 0.5594 GB, free: 86.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/0.9696, allocations: 7.219 kB / 0.5594 GB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.9698, allocations: 4.797 kB / 0.5594 GB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.97, allocations: 143.8 kB / 0.5595 GB, free: 86.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.9901, allocations: 12.86 MB / 0.5721 GB, free: 83.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/0.995, allocations: 6.8 MB / 0.5787 GB, free: 77.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.9966, allocations: 1.297 MB / 0.58 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005649/1.002, allocations: 3.72 MB / 0.5836 GB, free: 74.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/1.003, allocations: 0.7723 MB / 0.5844 GB, free: 74.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 2.985e-06/1.003, allocations: 0 / 0.5844 GB, free: 74.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.008594/1.012, allocations: 5.242 MB / 0.5895 GB, free: 71.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.012, allocations: 220.7 kB / 0.5897 GB, free: 71.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.014, allocations: 1.36 MB / 0.591 GB, free: 71.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/1.014, allocations: 32.95 kB / 0.591 GB, free: 71.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.015, allocations: 1.483 MB / 0.5925 GB, free: 69.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/1.015, allocations: 456.8 kB / 0.5929 GB, free: 69.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/1.015, allocations: 0 / 0.5929 GB, free: 69.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/1.015, allocations: 370.3 kB / 0.5933 GB, free: 69.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/1.016, allocations: 0.5926 MB / 0.5939 GB, free: 69.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009149/1.017, allocations: 1.127 MB / 0.595 GB, free: 68.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.018, allocations: 0.9473 MB / 0.5959 GB, free: 67.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.018, allocations: 6.875 kB / 0.5959 GB, free: 67.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003155/1.022, allocations: 2.272 MB / 0.5981 GB, free: 66.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.022, allocations: 17.22 kB / 0.5981 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.022, allocations: 12.34 kB / 0.5981 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/1.022, allocations: 278.8 kB / 0.5984 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.024, allocations: 388.3 kB / 0.5988 GB, free: 66.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/1.027, allocations: 5.609 MB / 0.6043 GB, free: 61.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.029, allocations: 64.91 kB / 0.6043 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.029, allocations: 77.12 kB / 0.6044 GB, free: 61.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.0002447/1.029, allocations: 155.7 kB / 0.6045 GB, free: 61.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.029, allocations: 180.4 kB / 0.6047 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/1.033, allocations: 2.179 MB / 0.6068 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.033, allocations: 13.72 kB / 0.6069 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.033, allocations: 6.5 kB / 0.6069 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.033, allocations: 7.688 kB / 0.6069 GB, free: 60.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/1.04, allocations: 4.682 MB / 0.6114 GB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.04, allocations: 3.938 kB / 0.6114 GB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/1.041, allocations: 183.5 kB / 0.6116 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/1.042, allocations: 443.9 kB / 0.612 GB, free: 58.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/1.042, allocations: 18.2 kB / 0.6121 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007049/1.049, allocations: 9.765 MB / 0.6216 GB, free: 50.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.049, allocations: 7.734 kB / 0.6216 GB, free: 50.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/1.054, allocations: 3.092 MB / 0.6246 GB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/1.055, allocations: 419.4 kB / 0.625 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.055, allocations: 19.19 kB / 0.625 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/1.056, allocations: 50.16 kB / 0.6251 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.056, allocations: 99.97 kB / 0.6252 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/1.056, allocations: 39.75 kB / 0.6252 GB, free: 48.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00163/1.058, allocations: 1.023 MB / 0.6262 GB, free: 47.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.058, allocations: 0 / 0.6262 GB, free: 47.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002649/1.06, allocations: 0.5461 MB / 0.6268 GB, free: 46.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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%) 3,(1,100.0%) 8,(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.001182/1.061, allocations: 0.5802 MB / 0.6273 GB, free: 46.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/1.064, allocations: 1.976 MB / 0.6293 GB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.064, allocations: 0 / 0.6293 GB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.066, allocations: 1.459 MB / 0.6307 GB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.067, allocations: 385.4 kB / 0.631 GB, free: 42.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/1.075, allocations: 4.544 MB / 0.6355 GB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.077, allocations: 2.414 MB / 0.6378 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001401/1.079, allocations: 385.7 kB / 0.6382 GB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/1.079, allocations: 122.9 kB / 0.6383 GB, free: 36.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/1.079, allocations: 0 / 0.6383 GB, free: 36.17 MB / 410.7 MB Notification: Performance of Templates: time 0.04266/1.122, allocations: 23.98 MB / 0.6617 GB, free: 17.52 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches