Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009756/0.0009756, 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.28/1.28, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008248/0.0008247, allocations: 80.06 kB / 287 MB, free: 260 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.1829/0.1829, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.103e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.49, allocations: 89.48 MB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4903, allocations: 71.97 kB / 0.5892 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.5111, allocations: 8.395 MB / 0.5974 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5112, allocations: 4 kB / 0.5974 GB, free: 7.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.5112, allocations: 4 kB / 0.5974 GB, free: 7.363 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006639/0.5119, allocations: 0.5076 MB / 0.5979 GB, free: 6.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5119, allocations: 11.97 kB / 0.5979 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.512, allocations: 35.61 kB / 0.5979 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.5125, allocations: 299.9 kB / 0.5982 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5125, allocations: 7.984 kB / 0.5982 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.5126, allocations: 8 kB / 0.5982 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.5128, allocations: 112.5 kB / 0.5983 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5128, allocations: 0 / 0.5983 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5128, allocations: 4 kB / 0.5983 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5128, allocations: 0 / 0.5983 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5129, allocations: 51.95 kB / 0.5984 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.5136, allocations: 0.4968 MB / 0.5989 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.5139, allocations: 117.2 kB / 0.599 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.514, allocations: 49.83 kB / 0.599 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.514, allocations: 7.938 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.5142, allocations: 121.1 kB / 0.5991 GB, free: 5.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.5142, allocations: 0 / 0.5991 GB, free: 5.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008775/0.5151, allocations: 443.5 kB / 0.5996 GB, free: 4.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.5152, allocations: 89.09 kB / 0.5996 GB, free: 4.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.5157, allocations: 431.5 kB / 0.6001 GB, free: 4.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5157, allocations: 29.7 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5158, allocations: 164.5 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.5159, allocations: 67.09 kB / 0.6003 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.5159, allocations: 4 kB / 0.6003 GB, free: 4.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.516, allocations: 354.7 kB / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.5161, allocations: 53.31 kB / 0.6007 GB, free: 3.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.5163, allocations: 87.42 kB / 0.6008 GB, free: 3.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.5164, allocations: 58.39 kB / 0.6008 GB, free: 3.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5164, allocations: 0 / 0.6008 GB, free: 3.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003425/0.5167, allocations: 237.5 kB / 0.6011 GB, free: 3.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5168, allocations: 11.95 kB / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5168, allocations: 0 / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5168, allocations: 4.062 kB / 0.6011 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.5169, allocations: 43.92 kB / 0.6011 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5169, allocations: 0 / 0.6011 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.517, allocations: 15.98 kB / 0.6011 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5171, allocations: 12 kB / 0.6011 GB, free: 3.223 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.679e-05/0.5172, allocations: 116.9 kB / 0.6013 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.5172, allocations: 31.62 kB / 0.6013 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.5176, allocations: 281.7 kB / 0.6016 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5177, allocations: 4 kB / 0.6016 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5177, allocations: 3.938 kB / 0.6016 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5177, allocations: 4 kB / 0.6016 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.5186, allocations: 0.8051 MB / 0.6024 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5186, allocations: 4 kB / 0.6024 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.5187, allocations: 31.92 kB / 0.6024 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5187, allocations: 7.938 kB / 0.6024 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.5187, allocations: 8 kB / 0.6024 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5188, allocations: 4 kB / 0.6024 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5188, allocations: 3.984 kB / 0.6024 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.5192, allocations: 493.9 kB / 0.6029 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5193, allocations: 132.6 kB / 0.603 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.5194, allocations: 8 kB / 0.603 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5195, allocations: 8 kB / 0.603 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.5196, allocations: 27.91 kB / 0.6031 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.5196, allocations: 8 kB / 0.6031 GB, free: 1.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003418/0.5199, allocations: 350.1 kB / 0.6034 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.52, allocations: 0 / 0.6034 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.5203, allocations: 79.92 kB / 0.6035 GB, free: 0.6875 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001045/0.5214, allocations: 479.3 kB / 0.6039 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.5216, allocations: 155.7 kB / 0.6041 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5216, allocations: 0 / 0.6041 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.5218, allocations: 83.86 kB / 0.6042 GB, free: 112 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.5222, allocations: 65.88 kB / 0.6042 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.5229, allocations: 0.4987 MB / 0.6047 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.5233, allocations: 0.7863 MB / 0.6055 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.5234, allocations: 50.06 kB / 0.6055 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.5235, allocations: 35.42 kB / 0.6056 GB, free: 14.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5235, allocations: 0 / 0.6056 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Templates: time 0.006226/0.5297, allocations: 3.371 MB / 0.6088 GB, free: 11.26 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches