Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001515, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.959/1.959, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001122/0.001122, allocations: 96.06 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5044/0.5044, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6373, allocations: 87.82 MB / 0.5645 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004263/0.6378, allocations: 75.95 kB / 0.5646 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05668/0.6945, allocations: 7.859 MB / 0.5722 GB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6946, allocations: 0 / 0.5722 GB, free: 7.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.6946, allocations: 8 kB / 0.5722 GB, free: 7.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00153/0.6962, allocations: 0.5461 MB / 0.5728 GB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.6963, allocations: 12.55 kB / 0.5728 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.6965, allocations: 31.62 kB / 0.5728 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6975, allocations: 303 kB / 0.5731 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.6976, allocations: 11.94 kB / 0.5731 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.6977, allocations: 4 kB / 0.5731 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.6982, allocations: 95.3 kB / 0.5732 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.6982, allocations: 5.031 kB / 0.5732 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.6983, allocations: 4 kB / 0.5732 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.6983, allocations: 3.984 kB / 0.5732 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.6987, allocations: 47.86 kB / 0.5733 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.7, allocations: 477 kB / 0.5737 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.7007, allocations: 125.4 kB / 0.5739 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.7008, allocations: 4 kB / 0.5739 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.7013, allocations: 113.7 kB / 0.574 GB, free: 5.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.767e-06/0.7013, allocations: 0 / 0.574 GB, free: 5.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002186/0.7035, allocations: 387.6 kB / 0.5743 GB, free: 4.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.7036, allocations: 85.11 kB / 0.5744 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.705, allocations: 440.7 kB / 0.5748 GB, free: 4.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.7051, allocations: 29.7 kB / 0.5749 GB, free: 4.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.7053, allocations: 202.8 kB / 0.5751 GB, free: 3.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.7054, allocations: 51.34 kB / 0.5751 GB, free: 3.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.7055, allocations: 4 kB / 0.5751 GB, free: 3.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.7057, allocations: 318.8 kB / 0.5754 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.706, allocations: 39.98 kB / 0.5755 GB, free: 3.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.7064, allocations: 76.78 kB / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.7067, allocations: 52.12 kB / 0.5756 GB, free: 3.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.7067, allocations: 3.953 kB / 0.5756 GB, free: 3.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008504/0.7076, allocations: 161.4 kB / 0.5757 GB, free: 3.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.7077, allocations: 16 kB / 0.5757 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7077, allocations: 0 / 0.5757 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.7077, allocations: 0 / 0.5757 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.7081, allocations: 31.98 kB / 0.5758 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.7082, allocations: 3.984 kB / 0.5758 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.7085, allocations: 16.69 kB / 0.5758 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.7086, allocations: 4 kB / 0.5758 GB, free: 3.133 MB / 394.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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000411/0.709, allocations: 173.7 kB / 0.576 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7092, allocations: 39.58 kB / 0.576 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.7104, allocations: 220.3 kB / 0.5762 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.7104, allocations: 4 kB / 0.5762 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7104, allocations: 0 / 0.5762 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7105, allocations: 0 / 0.5762 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.7127, allocations: 0.7141 MB / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.7128, allocations: 4 kB / 0.5769 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.713, allocations: 19.98 kB / 0.5769 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.7131, allocations: 0 / 0.5769 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.7131, allocations: 4 kB / 0.5769 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.7131, allocations: 4 kB / 0.5769 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.7132, allocations: 3.938 kB / 0.577 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.7143, allocations: 422.8 kB / 0.5774 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.7147, allocations: 124.7 kB / 0.5775 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.7148, allocations: 7.953 kB / 0.5775 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.7152, allocations: 19.98 kB / 0.5775 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.7153, allocations: 11.97 kB / 0.5775 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.7154, allocations: 12 kB / 0.5775 GB, free: 1.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.7164, allocations: 351.1 kB / 0.5779 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7165, allocations: 0 / 0.5779 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000911/0.7174, allocations: 67.92 kB / 0.5779 GB, free: 0.8203 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002219/0.7196, allocations: 479.8 kB / 0.5784 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008302/0.7205, allocations: 119.9 kB / 0.5785 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.7205, allocations: 0 / 0.5785 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.7209, allocations: 76.09 kB / 0.5786 GB, free: 264 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.722, allocations: 53.94 kB / 0.5786 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.7244, allocations: 0.6348 MB / 0.5792 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.7251, allocations: 0.7868 MB / 0.58 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.7253, allocations: 31.42 kB / 0.58 GB, free: 14.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7253, allocations: 0 / 0.58 GB, free: 14.69 MB / 410.7 MB Notification: Performance of Templates: time 0.01527/0.7406, allocations: 3.589 MB / 0.5835 GB, free: 11.11 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches