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.001296/0.001296, allocations: 179.5 kB / 16.38 MB, free: 5.766 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.351/1.351, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.000839/0.0008389, allocations: 96.53 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4189, allocations: 108.2 MB / 0.4978 GB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.4193, allocations: 99.94 kB / 0.4979 GB, free: 4.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3175/0.7368, allocations: 44.7 MB / 0.5415 GB, free: 73.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7369, allocations: 0 / 0.5415 GB, free: 73.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002681/0.7372, allocations: 55.92 kB / 0.5416 GB, free: 73.22 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.006765/0.744, allocations: 2.313 MB / 0.5439 GB, free: 70.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.744, allocations: 16.02 kB / 0.5439 GB, free: 70.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.7456, allocations: 269 kB / 0.5441 GB, free: 70.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.7492, allocations: 1.447 MB / 0.5455 GB, free: 69.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.7494, allocations: 143.7 kB / 0.5457 GB, free: 68.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.7499, allocations: 184 kB / 0.5459 GB, free: 68.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.7544, allocations: 2.398 MB / 0.5482 GB, free: 66.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-05/0.7545, allocations: 7.906 kB / 0.5482 GB, free: 66.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.7548, allocations: 79.98 kB / 0.5483 GB, free: 66.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.7549, allocations: 91.67 kB / 0.5484 GB, free: 66.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.7578, allocations: 1.884 MB / 0.5502 GB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.7692, allocations: 7.441 MB / 0.5575 GB, free: 56.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.7709, allocations: 1.398 MB / 0.5588 GB, free: 55.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.7712, allocations: 134 kB / 0.559 GB, free: 54.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008976/0.7721, allocations: 0.7023 MB / 0.5597 GB, free: 54.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.567e-06/0.7721, allocations: 0 / 0.5597 GB, free: 54.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.01669/0.7888, allocations: 8.385 MB / 0.5678 GB, free: 45.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.7889, allocations: 179.5 kB / 0.568 GB, free: 45.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.7909, allocations: 1.224 MB / 0.5692 GB, free: 44.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.791, allocations: 45.7 kB / 0.5692 GB, free: 44.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.7917, allocations: 0.9327 MB / 0.5702 GB, free: 43.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.792, allocations: 445.6 kB / 0.5706 GB, free: 42.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.7921, allocations: 35.94 kB / 0.5706 GB, free: 42.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.7922, allocations: 361.9 kB / 0.571 GB, free: 42.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.7931, allocations: 0.6949 MB / 0.5716 GB, free: 41.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.7942, allocations: 1.052 MB / 0.5727 GB, free: 40.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7953, allocations: 0.8644 MB / 0.5735 GB, free: 39.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.7953, allocations: 0 / 0.5735 GB, free: 39.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003782/0.7991, allocations: 2.533 MB / 0.576 GB, free: 37.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7991, allocations: 8 kB / 0.576 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.7991, allocations: 8 kB / 0.576 GB, free: 37.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.8007, allocations: 0.6664 MB / 0.5767 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.8018, allocations: 299.6 kB / 0.5769 GB, free: 36.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/0.8081, allocations: 6.692 MB / 0.5835 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.8097, allocations: 111.9 kB / 0.5836 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.8099, allocations: 56 kB / 0.5836 GB, free: 29.01 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 (149): * Single equations (assignments): 145 * 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.001333/0.8112, allocations: 0.6407 MB / 0.5843 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.8117, allocations: 154.1 kB / 0.5844 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/0.8159, allocations: 2.402 MB / 0.5868 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8159, allocations: 12 kB / 0.5868 GB, free: 25.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.8159, allocations: 8 kB / 0.5868 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8159, allocations: 11.97 kB / 0.5868 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/0.8236, allocations: 4.789 MB / 0.5915 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.8237, allocations: 3.953 kB / 0.5915 GB, free: 20.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.8245, allocations: 191.9 kB / 0.5916 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.8262, allocations: 0.7213 MB / 0.5924 GB, free: 19.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/0.8263, allocations: 39.97 kB / 0.5924 GB, free: 19.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/0.8335, allocations: 8.41 MB / 0.6006 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8336, allocations: 0 / 0.6006 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.8382, allocations: 3.461 MB / 0.604 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8393, allocations: 399 kB / 0.6044 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/0.8397, allocations: 36.33 kB / 0.6044 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.8407, allocations: 71.92 kB / 0.6045 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.8409, allocations: 109.1 kB / 0.6046 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.841, allocations: 47.92 kB / 0.6046 GB, free: 6.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.8425, allocations: 0.9518 MB / 0.6055 GB, free: 5.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8425, allocations: 0 / 0.6055 GB, free: 5.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001809/0.8443, allocations: 0.5195 MB / 0.6061 GB, free: 5.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (100): * 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): 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.001273/0.8456, allocations: 0.6097 MB / 0.6066 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.849, allocations: 2.399 MB / 0.609 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.849, allocations: 4.125 kB / 0.609 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.8512, allocations: 1.617 MB / 0.6106 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.853, allocations: 379.7 kB / 0.6109 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.8613, allocations: 5.132 MB / 0.6159 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.8633, allocations: 1.757 MB / 0.6177 GB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.8646, allocations: 325.2 kB / 0.618 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.865, allocations: 111.4 kB / 0.6181 GB, free: 9 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.865, allocations: 0 / 0.6181 GB, free: 9 MB / 394.7 MB Notification: Performance of Templates: time 0.04905/0.9141, allocations: 27.31 MB / 0.6447 GB, free: 13.91 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/jenkins/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