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.001443/0.001443, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008633, allocations: 95.36 kB / 281.6 MB, free: 5.316 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.2062/0.2062, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.076e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.5144, allocations: 89.32 MB / 0.5819 GB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5147, allocations: 71.97 kB / 0.582 GB, free: 7.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.5341, allocations: 7.086 MB / 0.5889 GB, free: 44 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5341, allocations: 0 / 0.5889 GB, free: 44 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.5341, allocations: 8 kB / 0.5889 GB, free: 36 kB / 394.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.0006413/0.5348, allocations: 0.502 MB / 0.5894 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5348, allocations: 11.98 kB / 0.5894 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.5349, allocations: 23.72 kB / 0.5894 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.5354, allocations: 278.6 kB / 0.5897 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.5354, allocations: 4 kB / 0.5897 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5354, allocations: 7.953 kB / 0.5897 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.5356, allocations: 40.73 kB / 0.5897 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.5357, allocations: 100.2 kB / 0.5898 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5358, allocations: 0 / 0.5898 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5358, allocations: 0 / 0.5898 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5358, allocations: 4 kB / 0.5898 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.5363, allocations: 370.1 kB / 0.5902 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.5365, allocations: 109.4 kB / 0.5903 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.5366, allocations: 33.72 kB / 0.5903 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.5366, allocations: 7.938 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.5368, allocations: 117 kB / 0.5905 GB, free: 14.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5368, allocations: 0 / 0.5905 GB, free: 14.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003043/0.5371, allocations: 137.4 kB / 0.5906 GB, free: 14.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5372, allocations: 102.8 kB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.5376, allocations: 294.3 kB / 0.591 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5376, allocations: 29.7 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5377, allocations: 132.1 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.5378, allocations: 31.55 kB / 0.5911 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5378, allocations: 3.938 kB / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5379, allocations: 338.8 kB / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.538, allocations: 24 kB / 0.5915 GB, free: 13.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.538, allocations: 73.14 kB / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.5381, allocations: 31.98 kB / 0.5916 GB, free: 13.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5381, allocations: 7.984 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001982/0.5383, allocations: 137.4 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5384, allocations: 4 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5384, allocations: 4 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5384, allocations: 96 / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5385, allocations: 31.92 kB / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5385, allocations: 0 / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.5386, allocations: 8 kB / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.5387, allocations: 4 kB / 0.5918 GB, free: 12.81 MB / 410.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 () * 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.0001003/0.5388, allocations: 112.9 kB / 0.5919 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.5388, allocations: 31.67 kB / 0.5919 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.5391, allocations: 155.5 kB / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5391, allocations: 4 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5391, allocations: 7.938 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5391, allocations: 3.984 kB / 0.5921 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.5393, allocations: 234 kB / 0.5923 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5394, allocations: 4 kB / 0.5923 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.5394, allocations: 15.92 kB / 0.5923 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5394, allocations: 0 / 0.5923 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5394, allocations: 7.953 kB / 0.5923 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5394, allocations: 0 / 0.5923 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5394, allocations: 0 / 0.5923 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.5397, allocations: 191.4 kB / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5398, allocations: 108.8 kB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.5399, allocations: 12.12 kB / 0.5926 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.54, allocations: 12 kB / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.54, allocations: 7.984 kB / 0.5927 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5401, allocations: 8 kB / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002565/0.5403, allocations: 237.9 kB / 0.5929 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5403, allocations: 3.938 kB / 0.5929 GB, free: 11.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.5406, allocations: 47.92 kB / 0.5929 GB, free: 11.54 MB / 410.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) * 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.0008135/0.5414, allocations: 354.1 kB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.5417, allocations: 91.91 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5417, allocations: 0 / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.5418, allocations: 44.19 kB / 0.5934 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5421, allocations: 62.3 kB / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.5427, allocations: 298.8 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.543, allocations: 0.7479 MB / 0.5945 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.5431, allocations: 37.81 kB / 0.5945 GB, free: 9.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.5432, allocations: 27.44 kB / 0.5945 GB, free: 9.902 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5432, allocations: 0 / 0.5945 GB, free: 9.902 MB / 410.7 MB Notification: Performance of Templates: time 0.006081/0.5493, allocations: 2.767 MB / 0.5972 GB, free: 7.156 MB / 410.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/jenkins/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