Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 179.1 kB / 18.08 MB, free: 3.754 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.34/1.34, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0008234/0.0008234, allocations: 93.62 kB / 293.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3414/0.3414, allocations: 44.14 MB / 388.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 461.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 61.87 MB / 0.5107 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4622, allocations: 90.09 MB / 0.5987 GB, free: 5.023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4625, allocations: 79.94 kB / 0.5988 GB, free: 4.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.4812, allocations: 7.164 MB / 0.6058 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4813, allocations: 4 kB / 0.6058 GB, free: 13.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.4813, allocations: 4 kB / 0.6058 GB, free: 13.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007324/0.482, allocations: 0.535 MB / 0.6063 GB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4821, allocations: 12.03 kB / 0.6063 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.4822, allocations: 20.66 kB / 0.6063 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.4826, allocations: 307.6 kB / 0.6066 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4826, allocations: 8.375 kB / 0.6066 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4827, allocations: 4.375 kB / 0.6066 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.4829, allocations: 104.7 kB / 0.6067 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4829, allocations: 192 / 0.6067 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4829, allocations: 7.938 kB / 0.6068 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4829, allocations: 0 / 0.6068 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4831, allocations: 47.97 kB / 0.6068 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.4836, allocations: 393.5 kB / 0.6072 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.4839, allocations: 121.2 kB / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.484, allocations: 49.69 kB / 0.6073 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.484, allocations: 3.938 kB / 0.6073 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.4843, allocations: 121 kB / 0.6075 GB, free: 11.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4843, allocations: 0 / 0.6075 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004687/0.4848, allocations: 193.3 kB / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4848, allocations: 102.8 kB / 0.6077 GB, free: 11.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4852, allocations: 331 kB / 0.6081 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4852, allocations: 33.69 kB / 0.6081 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.4853, allocations: 132.1 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.4854, allocations: 39.55 kB / 0.6083 GB, free: 11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4854, allocations: 0 / 0.6083 GB, free: 11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4855, allocations: 338.8 kB / 0.6086 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.4856, allocations: 31.98 kB / 0.6086 GB, free: 10.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.4858, allocations: 77.06 kB / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.4859, allocations: 107.3 kB / 0.6088 GB, free: 10.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.486, allocations: 0 / 0.6088 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002752/0.4862, allocations: 149.8 kB / 0.6089 GB, free: 10.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4863, allocations: 8 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4863, allocations: 128 / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4863, allocations: 8 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4864, allocations: 24.05 kB / 0.609 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4864, allocations: 3.938 kB / 0.609 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.4865, allocations: 19.88 kB / 0.609 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4865, allocations: 4 kB / 0.609 GB, free: 10.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.4867, allocations: 157.8 kB / 0.6091 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.4867, allocations: 19.72 kB / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.4871, allocations: 179.4 kB / 0.6093 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4871, allocations: 0 / 0.6093 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4871, allocations: 4 kB / 0.6093 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4871, allocations: 0 / 0.6093 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.4873, allocations: 265.4 kB / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4873, allocations: 0 / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.4874, allocations: 11.98 kB / 0.6096 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4874, allocations: 4 kB / 0.6096 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4874, allocations: 7.938 kB / 0.6096 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.4874, allocations: 4 kB / 0.6096 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4874, allocations: 3.938 kB / 0.6096 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4878, allocations: 197.6 kB / 0.6098 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4879, allocations: 112.8 kB / 0.6099 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.4879, allocations: 8 kB / 0.6099 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.488, allocations: 7.984 kB / 0.6099 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4881, allocations: 11.98 kB / 0.6099 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4881, allocations: 8 kB / 0.6099 GB, free: 9.105 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4883, allocations: 249.9 kB / 0.6102 GB, free: 8.859 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4883, allocations: 0 / 0.6102 GB, free: 8.859 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.4886, allocations: 47.98 kB / 0.6102 GB, free: 8.812 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009118/0.4895, allocations: 430.1 kB / 0.6106 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.4899, allocations: 95.89 kB / 0.6107 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4899, allocations: 8.062 kB / 0.6107 GB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.49, allocations: 55.91 kB / 0.6108 GB, free: 8.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.4904, allocations: 63.25 kB / 0.6109 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.4911, allocations: 439.3 kB / 0.6113 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4914, allocations: 0.7442 MB / 0.612 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.4915, allocations: 37.5 kB / 0.612 GB, free: 7.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.4916, allocations: 31.42 kB / 0.6121 GB, free: 7.031 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.4916, allocations: 0 / 0.6121 GB, free: 7.031 MB / 426.7 MB Notification: Performance of Templates: time 0.006246/0.4978, allocations: 2.988 MB / 0.615 GB, free: 4.078 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches