Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.245/1.245, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008201/0.0008203, allocations: 95.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1767/0.1767, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.697e-05, allocations: 4 kB / 451.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4818, allocations: 89.43 MB / 0.5891 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.482, allocations: 79.95 kB / 0.5891 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.4974, allocations: 5.974 MB / 0.595 GB, free: 9.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4975, allocations: 0 / 0.595 GB, free: 9.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4975, allocations: 0 / 0.595 GB, free: 9.824 MB / 410.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.000432/0.4979, allocations: 386.3 kB / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.498, allocations: 12.03 kB / 0.5953 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.498, allocations: 19.84 kB / 0.5954 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.4983, allocations: 208.9 kB / 0.5956 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4984, allocations: 4 kB / 0.5956 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4984, allocations: 4 kB / 0.5956 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4985, allocations: 71.33 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4986, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4986, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4986, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.4986, allocations: 23.94 kB / 0.5957 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.499, allocations: 284.9 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4991, allocations: 58.67 kB / 0.596 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.4992, allocations: 20.92 kB / 0.596 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.4992, allocations: 4 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.4993, allocations: 75.33 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.4993, allocations: 0 / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.4998, allocations: 153.2 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.4998, allocations: 77.11 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.5, allocations: 150.9 kB / 0.5964 GB, free: 8.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5, allocations: 29.7 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.5001, allocations: 88.14 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.5001, allocations: 35.62 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5001, allocations: 8 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.5002, allocations: 318.8 kB / 0.5969 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.5003, allocations: 16 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.5003, allocations: 42.58 kB / 0.597 GB, free: 7.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.5004, allocations: 19.98 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5004, allocations: 32 / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001368/0.5005, allocations: 97.53 kB / 0.5971 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5005, allocations: 11.98 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5005, allocations: 0 / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5006, allocations: 0 / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.5007, allocations: 15.94 kB / 0.5971 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5007, allocations: 4 kB / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.5007, allocations: 7.953 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5007, allocations: 7.984 kB / 0.5971 GB, free: 7.383 MB / 410.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 () * 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 8.281e-05/0.5008, allocations: 113 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.5009, allocations: 7.906 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5011, allocations: 114.2 kB / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5011, allocations: 0 / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5011, allocations: 0 / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5011, allocations: 3.938 kB / 0.5973 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.5015, allocations: 403.5 kB / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5015, allocations: 4.031 kB / 0.5977 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.5015, allocations: 12 kB / 0.5977 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5015, allocations: 3.938 kB / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5016, allocations: 0 / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5016, allocations: 7.953 kB / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5016, allocations: 0 / 0.5978 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.5018, allocations: 214 kB / 0.598 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.5018, allocations: 97 kB / 0.5981 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.5019, allocations: 3.953 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.5019, allocations: 7.984 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.502, allocations: 8 kB / 0.5981 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.502, allocations: 4.125 kB / 0.5981 GB, free: 6.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.5021, allocations: 121.3 kB / 0.5982 GB, free: 6.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5021, allocations: 0 / 0.5982 GB, free: 6.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.5024, allocations: 35.92 kB / 0.5982 GB, free: 6.133 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.0009591/0.5033, allocations: 479.8 kB / 0.5987 GB, free: 5.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.5035, allocations: 59.92 kB / 0.5987 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5035, allocations: 0 / 0.5987 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5035, allocations: 31.94 kB / 0.5988 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.5038, allocations: 27.91 kB / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.5041, allocations: 135.3 kB / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.5043, allocations: 0.7045 MB / 0.5996 GB, free: 4.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.5044, allocations: 20.84 kB / 0.5996 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.5045, allocations: 23.42 kB / 0.5997 GB, free: 4.734 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5045, allocations: 0 / 0.5997 GB, free: 4.734 MB / 410.7 MB Notification: Performance of Templates: time 0.004013/0.5085, allocations: 1.874 MB / 0.6015 GB, free: 2.867 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches