Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, 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.285/1.285, allocations: 221.3 MB / 236 MB, free: 2.918 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.0008205/0.0008206, allocations: 83.92 kB / 287 MB, free: 184 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.1784/0.1784, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.876e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.4827, allocations: 89.18 MB / 0.5888 GB, free: 140 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4829, allocations: 75.95 kB / 0.5889 GB, free: 64 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.4971, allocations: 5.426 MB / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4971, allocations: 0 / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.4971, allocations: 4 kB / 0.5942 GB, free: 10.64 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.0004156/0.4975, allocations: 390.2 kB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4976, allocations: 8.031 kB / 0.5946 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4976, allocations: 7.906 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4979, allocations: 221.8 kB / 0.5948 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.498, allocations: 7.953 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.498, allocations: 4 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4981, allocations: 53.67 kB / 0.5948 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.4981, allocations: 3.938 kB / 0.5948 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4981, allocations: 0 / 0.5948 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4981, allocations: 4 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.4982, allocations: 16 kB / 0.5949 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4986, allocations: 304.7 kB / 0.5951 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4987, allocations: 50.69 kB / 0.5952 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.4987, allocations: 20.98 kB / 0.5952 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4987, allocations: 0 / 0.5952 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.4989, allocations: 67.33 kB / 0.5953 GB, free: 9.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4989, allocations: 4 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004335/0.4994, allocations: 153.2 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4994, allocations: 59.34 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4996, allocations: 157.3 kB / 0.5956 GB, free: 8.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4996, allocations: 33.7 kB / 0.5957 GB, free: 8.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.4997, allocations: 100.1 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.4997, allocations: 19.66 kB / 0.5958 GB, free: 8.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.4997, allocations: 4 kB / 0.5958 GB, free: 8.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4998, allocations: 330.8 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.4999, allocations: 20 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.843e-05/0.4999, allocations: 33.7 kB / 0.5962 GB, free: 8.398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.5, allocations: 19.98 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5, allocations: 0 / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001501/0.5001, allocations: 97.53 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5002, allocations: 4 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5002, allocations: 0 / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5002, allocations: 4.219 kB / 0.5963 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.5003, allocations: 27.98 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5003, allocations: 0 / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.5004, allocations: 4 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.5004, allocations: 0 / 0.5963 GB, free: 8.238 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.257e-05/0.5005, allocations: 120.9 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.5005, allocations: 7.906 kB / 0.5964 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.5007, allocations: 118.1 kB / 0.5965 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5007, allocations: 4 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5007, allocations: 0 / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5007, allocations: 0 / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.5011, allocations: 411.2 kB / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5012, allocations: 0 / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.5012, allocations: 8 kB / 0.5969 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5012, allocations: 3.984 kB / 0.5969 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5012, allocations: 8 kB / 0.597 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5012, allocations: 4.031 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5012, allocations: 288 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.5015, allocations: 221.8 kB / 0.5972 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.5015, allocations: 92.91 kB / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5016, allocations: 4 kB / 0.5973 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.5016, allocations: 4 kB / 0.5973 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.5017, allocations: 15.94 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.5017, allocations: 4 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.5018, allocations: 130.5 kB / 0.5974 GB, free: 6.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5018, allocations: 0 / 0.5974 GB, free: 6.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.502, allocations: 35.92 kB / 0.5974 GB, free: 6.961 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.0008829/0.5029, allocations: 436.1 kB / 0.5979 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.5031, allocations: 59.86 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5031, allocations: 0 / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.5031, allocations: 31.98 kB / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.5034, allocations: 19.98 kB / 0.598 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.5037, allocations: 160.1 kB / 0.5981 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.504, allocations: 0.7082 MB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.5041, allocations: 12.42 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.5041, allocations: 23.36 kB / 0.5988 GB, free: 5.582 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5041, allocations: 0 / 0.5988 GB, free: 5.582 MB / 410.7 MB Notification: Performance of Templates: time 0.003765/0.5079, allocations: 1.657 MB / 0.6005 GB, free: 3.938 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches