Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 176.1 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 241.4 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 90.64 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005571, allocations: 15.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2552, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.3834, allocations: 108.4 MB / 0.4992 GB, free: 3.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.3837, allocations: 89.92 kB / 0.4992 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2716/0.6553, allocations: 44.68 MB / 0.5429 GB, free: 72.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6553, allocations: 4 kB / 0.5429 GB, free: 72.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.6555, allocations: 51.94 kB / 0.5429 GB, free: 72.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005331/0.6609, allocations: 2.286 MB / 0.5452 GB, free: 70.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6609, allocations: 16.02 kB / 0.5452 GB, free: 70.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.662, allocations: 270 kB / 0.5454 GB, free: 70.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.6652, allocations: 1.49 MB / 0.5469 GB, free: 68.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.6653, allocations: 140.1 kB / 0.547 GB, free: 68.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.6656, allocations: 196.3 kB / 0.5472 GB, free: 68.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.6691, allocations: 2.417 MB / 0.5496 GB, free: 65.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.6692, allocations: 7.906 kB / 0.5496 GB, free: 65.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.6694, allocations: 80 kB / 0.5497 GB, free: 65.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.416e-05/0.6695, allocations: 83.67 kB / 0.5497 GB, free: 65.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.6724, allocations: 1.892 MB / 0.5516 GB, free: 63.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.6825, allocations: 7.448 MB / 0.5589 GB, free: 56.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.6842, allocations: 1.39 MB / 0.5602 GB, free: 54.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009254/0.6851, allocations: 0.7394 MB / 0.5609 GB, free: 54.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.6854, allocations: 134 kB / 0.5611 GB, free: 53.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.6862, allocations: 0.6945 MB / 0.5617 GB, free: 53.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.426e-06/0.6862, allocations: 3.938 kB / 0.5617 GB, free: 53.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01539/0.7016, allocations: 8.341 MB / 0.5699 GB, free: 44.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.7017, allocations: 171.5 kB / 0.5701 GB, free: 44.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.7034, allocations: 1.379 MB / 0.5714 GB, free: 43.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.7035, allocations: 49.7 kB / 0.5715 GB, free: 43.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/0.704, allocations: 0.9288 MB / 0.5724 GB, free: 42.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.7043, allocations: 449.5 kB / 0.5728 GB, free: 41.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.7044, allocations: 31.94 kB / 0.5728 GB, free: 41.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.7044, allocations: 369.8 kB / 0.5732 GB, free: 41.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.7053, allocations: 0.691 MB / 0.5738 GB, free: 40.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000961/0.7063, allocations: 1.047 MB / 0.5749 GB, free: 39.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.7082, allocations: 1.821 MB / 0.5766 GB, free: 37.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7082, allocations: 4 kB / 0.5767 GB, free: 37.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003541/0.7118, allocations: 2.517 MB / 0.5791 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7118, allocations: 8 kB / 0.5791 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7118, allocations: 12.25 kB / 0.5791 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.7132, allocations: 0.659 MB / 0.5798 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.7142, allocations: 303.5 kB / 0.5801 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.72, allocations: 6.487 MB / 0.5864 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7214, allocations: 107.9 kB / 0.5865 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.7215, allocations: 56 kB / 0.5866 GB, free: 26.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.7226, allocations: 0.6444 MB / 0.5872 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.7228, allocations: 162 kB / 0.5873 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.7262, allocations: 2.39 MB / 0.5897 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7262, allocations: 15.94 kB / 0.5897 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7262, allocations: 8 kB / 0.5897 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.7262, allocations: 3.984 kB / 0.5897 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/0.7326, allocations: 4.836 MB / 0.5944 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7326, allocations: 192 / 0.5944 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.7333, allocations: 187.8 kB / 0.5946 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.7349, allocations: 0.7293 MB / 0.5953 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.735, allocations: 35.98 kB / 0.5953 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006748/0.7417, allocations: 8.14 MB / 0.6033 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7418, allocations: 11.98 kB / 0.6033 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.7464, allocations: 3.38 MB / 0.6066 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/0.7471, allocations: 395 kB / 0.607 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.7473, allocations: 35.98 kB / 0.607 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.748, allocations: 79.92 kB / 0.6071 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.7483, allocations: 105.1 kB / 0.6072 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7484, allocations: 43.98 kB / 0.6072 GB, free: 5.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.7496, allocations: 0.948 MB / 0.6082 GB, free: 4.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7496, allocations: 0 / 0.6082 GB, free: 4.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001382/0.751, allocations: 0.5155 MB / 0.6087 GB, free: 3.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(5,76.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.7521, allocations: 0.621 MB / 0.6093 GB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.7552, allocations: 2.388 MB / 0.6116 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7552, allocations: 0 / 0.6116 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.7575, allocations: 1.625 MB / 0.6132 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.7597, allocations: 397.5 kB / 0.6136 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.7675, allocations: 5.144 MB / 0.6186 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.7691, allocations: 1.718 MB / 0.6203 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001276/0.7704, allocations: 321.3 kB / 0.6206 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.7708, allocations: 115.4 kB / 0.6207 GB, free: 7.281 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7708, allocations: 0 / 0.6207 GB, free: 7.281 MB / 394.7 MB Notification: Performance of Templates: time 0.04648/0.8173, allocations: 27.61 MB / 0.6477 GB, free: 11.9 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches