Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 82.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2381/0.2381, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004382, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 58.85 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5694, allocations: 88.51 MB / 0.5652 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5697, allocations: 72.31 kB / 0.5653 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01905/0.5887, allocations: 6.951 MB / 0.5721 GB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5888, allocations: 0 / 0.5721 GB, free: 5.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.5888, allocations: 7.984 kB / 0.5721 GB, free: 5.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007707/0.5896, allocations: 0.5327 MB / 0.5726 GB, free: 4.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5896, allocations: 12.03 kB / 0.5726 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.5897, allocations: 27.7 kB / 0.5726 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.5902, allocations: 300.7 kB / 0.5729 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5902, allocations: 0.9375 kB / 0.5729 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5903, allocations: 5.062 kB / 0.5729 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5905, allocations: 103.5 kB / 0.573 GB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5906, allocations: 3.938 kB / 0.573 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5906, allocations: 9.609 kB / 0.573 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.5906, allocations: 4 kB / 0.573 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.5907, allocations: 44.33 kB / 0.5731 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.5913, allocations: 386.1 kB / 0.5734 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.5916, allocations: 124.9 kB / 0.5736 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.5916, allocations: 4.078 kB / 0.5736 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.5919, allocations: 116.2 kB / 0.5737 GB, free: 3.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.5919, allocations: 4 kB / 0.5737 GB, free: 3.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004711/0.5924, allocations: 188.2 kB / 0.5739 GB, free: 3.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.5924, allocations: 106.6 kB / 0.574 GB, free: 3.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.5928, allocations: 306.9 kB / 0.5742 GB, free: 3.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.5928, allocations: 29.02 kB / 0.5743 GB, free: 3.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.5929, allocations: 130.2 kB / 0.5744 GB, free: 3.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.593, allocations: 38.52 kB / 0.5744 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.593, allocations: 4 kB / 0.5744 GB, free: 3.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5931, allocations: 339.3 kB / 0.5748 GB, free: 2.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.5932, allocations: 37.86 kB / 0.5748 GB, free: 2.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.5934, allocations: 78.38 kB / 0.5749 GB, free: 2.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.5935, allocations: 49.33 kB / 0.5749 GB, free: 2.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5935, allocations: 0 / 0.5749 GB, free: 2.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002679/0.5937, allocations: 151.8 kB / 0.5751 GB, free: 2.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5938, allocations: 8 kB / 0.5751 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5938, allocations: 0 / 0.5751 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5938, allocations: 0 / 0.5751 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.5939, allocations: 27.92 kB / 0.5751 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.594, allocations: 0 / 0.5751 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.5941, allocations: 22.98 kB / 0.5751 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5941, allocations: 4 kB / 0.5751 GB, free: 2.375 MB / 378.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.0001473/0.5942, allocations: 154 kB / 0.5753 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.5943, allocations: 27.22 kB / 0.5753 GB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.5947, allocations: 168.2 kB / 0.5755 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5947, allocations: 3.984 kB / 0.5755 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5947, allocations: 4.5 kB / 0.5755 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5947, allocations: 4 kB / 0.5755 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.595, allocations: 270.6 kB / 0.5757 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.595, allocations: 4 kB / 0.5757 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.595, allocations: 11.94 kB / 0.5757 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5951, allocations: 4 kB / 0.5757 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5951, allocations: 0 / 0.5757 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5951, allocations: 0 / 0.5757 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5951, allocations: 7.984 kB / 0.5758 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.5954, allocations: 201.7 kB / 0.5759 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5956, allocations: 120.5 kB / 0.5761 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.5956, allocations: 4 kB / 0.5761 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.5957, allocations: 7.812 kB / 0.5761 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.5958, allocations: 11.92 kB / 0.5761 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.5958, allocations: 7.984 kB / 0.5761 GB, free: 1.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.596, allocations: 250.7 kB / 0.5763 GB, free: 1.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.596, allocations: 0 / 0.5763 GB, free: 1.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002893/0.5963, allocations: 47.8 kB / 0.5764 GB, free: 1.168 MB / 378.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.001/0.5973, allocations: 447.5 kB / 0.5768 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.5976, allocations: 99.19 kB / 0.5769 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5977, allocations: 0 / 0.5769 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5978, allocations: 59.42 kB / 0.577 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5981, allocations: 48.47 kB / 0.577 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.5989, allocations: 425.9 kB / 0.5774 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5992, allocations: 0.7517 MB / 0.5781 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.5994, allocations: 37.67 kB / 0.5782 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.5994, allocations: 23.25 kB / 0.5782 GB, free: 15.39 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5994, allocations: 0 / 0.5782 GB, free: 15.39 MB / 394.7 MB Notification: Performance of Templates: time 0.006302/0.6057, allocations: 2.956 MB / 0.5811 GB, free: 12.45 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches