Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 183 kB / 18.09 MB, free: 3.73 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.307/1.307, allocations: 223.3 MB / 242.1 MB, free: 9.973 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.0008614/0.0008616, allocations: 93.41 kB / 293.3 MB, free: 10.57 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.3542/0.3542, allocations: 44.14 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 19.98 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3866, allocations: 61.87 MB / 0.5107 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.5052, allocations: 89.16 MB / 0.5978 GB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5055, allocations: 75.95 kB / 0.5979 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01665/0.5222, allocations: 6.674 MB / 0.6044 GB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5222, allocations: 7.875 kB / 0.6044 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.146e-05/0.5223, allocations: 7.984 kB / 0.6044 GB, free: 15.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001049/0.5233, allocations: 0.696 MB / 0.6051 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5234, allocations: 12.03 kB / 0.6051 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.5235, allocations: 52.28 kB / 0.6051 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.5244, allocations: 0.4921 MB / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5244, allocations: 384 / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.5244, allocations: 4.375 kB / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5246, allocations: 87.86 kB / 0.6057 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5247, allocations: 192 / 0.6057 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.5247, allocations: 11.94 kB / 0.6057 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5247, allocations: 0 / 0.6057 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.5248, allocations: 31.97 kB / 0.6058 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.5253, allocations: 378.4 kB / 0.6061 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.5256, allocations: 105.2 kB / 0.6062 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.5257, allocations: 45.69 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.5257, allocations: 4 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.5259, allocations: 112.9 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5259, allocations: 0 / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005182/0.5265, allocations: 204.9 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.5265, allocations: 85.11 kB / 0.6067 GB, free: 12.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5281, allocations: 0.9831 MB / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.5281, allocations: 25.7 kB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.5283, allocations: 228.1 kB / 0.6079 GB, free: 11.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.5284, allocations: 23.7 kB / 0.6079 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5284, allocations: 4 kB / 0.6079 GB, free: 11.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.5287, allocations: 366.8 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5288, allocations: 31.98 kB / 0.6083 GB, free: 10.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.5289, allocations: 62.25 kB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.5291, allocations: 87.36 kB / 0.6084 GB, free: 10.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5291, allocations: 3.938 kB / 0.6084 GB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004314/0.5296, allocations: 185.4 kB / 0.6086 GB, free: 10.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5296, allocations: 13.81 kB / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5296, allocations: 0 / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5296, allocations: 0 / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.5298, allocations: 23.98 kB / 0.6086 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5298, allocations: 3.938 kB / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.5299, allocations: 19.83 kB / 0.6086 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5299, allocations: 8.062 kB / 0.6086 GB, free: 10.55 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: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002145/0.5301, allocations: 218.2 kB / 0.6089 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.5302, allocations: 59.36 kB / 0.6089 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.5306, allocations: 201.4 kB / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5306, allocations: 0 / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5306, allocations: 0 / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5306, allocations: 4 kB / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.531, allocations: 381.2 kB / 0.6095 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.531, allocations: 4 kB / 0.6095 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.5311, allocations: 11.98 kB / 0.6095 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5311, allocations: 7.938 kB / 0.6095 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5311, allocations: 0 / 0.6095 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5311, allocations: 3.984 kB / 0.6095 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5311, allocations: 4 kB / 0.6095 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.5314, allocations: 217.2 kB / 0.6097 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.5317, allocations: 200.3 kB / 0.6099 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.5318, allocations: 7.938 kB / 0.6099 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.5318, allocations: 8.188 kB / 0.6099 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.5319, allocations: 11.98 kB / 0.6099 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5319, allocations: 7.984 kB / 0.6099 GB, free: 9.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008657/0.5328, allocations: 0.7292 MB / 0.6106 GB, free: 8.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5328, allocations: 0 / 0.6106 GB, free: 8.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.5331, allocations: 83.98 kB / 0.6107 GB, free: 8.312 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009451/0.5341, allocations: 419.2 kB / 0.6111 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.5343, allocations: 91.83 kB / 0.6112 GB, free: 7.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5343, allocations: 0 / 0.6112 GB, free: 7.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.5344, allocations: 47.97 kB / 0.6113 GB, free: 7.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5349, allocations: 62.02 kB / 0.6113 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.5363, allocations: 0.9793 MB / 0.6123 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.5367, allocations: 0.843 MB / 0.6131 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.5369, allocations: 82.97 kB / 0.6132 GB, free: 5.902 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.537, allocations: 47.42 kB / 0.6132 GB, free: 5.855 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.537, allocations: 0 / 0.6132 GB, free: 5.855 MB / 426.7 MB Notification: Performance of Templates: time 0.008841/0.5458, allocations: 4.532 MB / 0.6177 GB, free: 1.348 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches