Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 176.8 kB / 17.06 MB, free: 5.082 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.361/1.361, allocations: 223.2 MB / 241 MB, free: 11.84 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.0009095/0.0009095, allocations: 91.11 kB / 292.2 MB, free: 10.89 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.3336/0.3336, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3553, allocations: 61.91 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.4765, allocations: 89.29 MB / 0.5968 GB, free: 5.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4768, allocations: 79.88 kB / 0.5968 GB, free: 5.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.4913, allocations: 5.761 MB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.057e-06/0.4914, allocations: 4 kB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.4914, allocations: 3.938 kB / 0.6025 GB, free: 15.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005005/0.4919, allocations: 430.7 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.4919, allocations: 8.031 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.492, allocations: 11.91 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4923, allocations: 229.6 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4923, allocations: 15.94 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4923, allocations: 0 / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4925, allocations: 57.67 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4925, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4925, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4925, allocations: 4 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.4926, allocations: 23.92 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.493, allocations: 300.9 kB / 0.6035 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4931, allocations: 58.67 kB / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4931, allocations: 0 / 0.6036 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.4933, allocations: 71.45 kB / 0.6036 GB, free: 14.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.4933, allocations: 4 kB / 0.6036 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.4939, allocations: 177.1 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4939, allocations: 55.41 kB / 0.6039 GB, free: 14.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4941, allocations: 205.8 kB / 0.604 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4942, allocations: 29.7 kB / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.4942, allocations: 104.1 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.4943, allocations: 23.66 kB / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4943, allocations: 0 / 0.6042 GB, free: 13.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4944, allocations: 335 kB / 0.6045 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.4945, allocations: 23.98 kB / 0.6045 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.4946, allocations: 37.7 kB / 0.6046 GB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.4946, allocations: 20 kB / 0.6046 GB, free: 13.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4946, allocations: 0 / 0.6046 GB, free: 13.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.4948, allocations: 109.4 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4949, allocations: 8.031 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4949, allocations: 0 / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4949, allocations: 0 / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.495, allocations: 19.98 kB / 0.6047 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.495, allocations: 3.938 kB / 0.6047 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.4951, allocations: 4 kB / 0.6047 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4951, allocations: 0 / 0.6047 GB, free: 13.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000116/0.4952, allocations: 137.8 kB / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4952, allocations: 11.91 kB / 0.6049 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.4955, allocations: 126.9 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4955, allocations: 0 / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4955, allocations: 4 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4955, allocations: 3.984 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.496, allocations: 427.2 kB / 0.6054 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4961, allocations: 4 kB / 0.6054 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.4961, allocations: 8 kB / 0.6054 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4961, allocations: 4.406 kB / 0.6054 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4961, allocations: 0 / 0.6054 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4961, allocations: 8 kB / 0.6054 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4961, allocations: 288 / 0.6054 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.4964, allocations: 233.8 kB / 0.6057 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.4965, allocations: 92.92 kB / 0.6057 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4965, allocations: 15.98 kB / 0.6058 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.4966, allocations: 0 / 0.6058 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.4966, allocations: 4 kB / 0.6058 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4967, allocations: 11.94 kB / 0.6058 GB, free: 12.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4968, allocations: 172.2 kB / 0.6059 GB, free: 11.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4968, allocations: 0 / 0.6059 GB, free: 11.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.4971, allocations: 39.92 kB / 0.606 GB, free: 11.93 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001881/0.499, allocations: 476.6 kB / 0.6064 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.4995, allocations: 63.91 kB / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4995, allocations: 0 / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4997, allocations: 40.09 kB / 0.6065 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.5002, allocations: 20.17 kB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.501, allocations: 286.8 kB / 0.6068 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.5015, allocations: 0.716 MB / 0.6075 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.5016, allocations: 16.55 kB / 0.6075 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.5017, allocations: 19.38 kB / 0.6076 GB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5017, allocations: 0 / 0.6076 GB, free: 10.43 MB / 426.7 MB Notification: Performance of Templates: time 0.007531/0.5092, allocations: 1.75 MB / 0.6093 GB, free: 8.699 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches