Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 180.8 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.299/1.299, allocations: 221.3 MB / 236 MB, free: 2.961 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.0007693/0.0007693, allocations: 91.8 kB / 287 MB, free: 248 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.1957/0.1957, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.934e-05, allocations: 8.203 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3804/0.49, allocations: 89.48 MB / 0.5891 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4902, allocations: 75.95 kB / 0.5892 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.5107, allocations: 8.073 MB / 0.597 GB, free: 7.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5108, allocations: 0 / 0.597 GB, free: 7.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.5108, allocations: 7.938 kB / 0.5971 GB, free: 7.688 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.000563/0.5113, allocations: 485.8 kB / 0.5975 GB, free: 7.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5114, allocations: 8.031 kB / 0.5975 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.5115, allocations: 23.72 kB / 0.5975 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.5119, allocations: 282.4 kB / 0.5978 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.5119, allocations: 11.94 kB / 0.5978 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5119, allocations: 11.91 kB / 0.5978 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5121, allocations: 107.3 kB / 0.5979 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5121, allocations: 0 / 0.5979 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5122, allocations: 4 kB / 0.5979 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5122, allocations: 0 / 0.5979 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.5123, allocations: 47.92 kB / 0.598 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.5128, allocations: 484.8 kB / 0.5985 GB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.5131, allocations: 117.2 kB / 0.5986 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.5132, allocations: 53.77 kB / 0.5986 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5132, allocations: 0 / 0.5986 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.5134, allocations: 117 kB / 0.5987 GB, free: 5.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.5134, allocations: 0 / 0.5987 GB, free: 5.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008208/0.5143, allocations: 420 kB / 0.5991 GB, free: 5.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5143, allocations: 89.11 kB / 0.5992 GB, free: 5.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.5147, allocations: 327.3 kB / 0.5995 GB, free: 4.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5147, allocations: 29.7 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.5148, allocations: 136.6 kB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.5149, allocations: 74.98 kB / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.5149, allocations: 7.938 kB / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.515, allocations: 338.8 kB / 0.6001 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.5151, allocations: 59.92 kB / 0.6001 GB, free: 4.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5152, allocations: 88.73 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.5153, allocations: 62.83 kB / 0.6003 GB, free: 4.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5154, allocations: 4 kB / 0.6003 GB, free: 4.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002963/0.5157, allocations: 213.2 kB / 0.6005 GB, free: 3.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5157, allocations: 9.078 kB / 0.6005 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5157, allocations: 8.062 kB / 0.6005 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5157, allocations: 11.94 kB / 0.6005 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.5159, allocations: 47.92 kB / 0.6006 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5159, allocations: 0 / 0.6006 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.516, allocations: 7.984 kB / 0.6006 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.516, allocations: 12 kB / 0.6006 GB, free: 3.805 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.654e-05/0.5161, allocations: 120.9 kB / 0.6007 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.5161, allocations: 31.62 kB / 0.6007 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.5166, allocations: 264.8 kB / 0.601 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5166, allocations: 4 kB / 0.601 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5166, allocations: 7.891 kB / 0.601 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5166, allocations: 3.984 kB / 0.601 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.5174, allocations: 0.7584 MB / 0.6017 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.5174, allocations: 4 kB / 0.6017 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.5175, allocations: 31.92 kB / 0.6018 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5176, allocations: 4 kB / 0.6018 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.5176, allocations: 11.94 kB / 0.6018 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5176, allocations: 4 kB / 0.6018 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5176, allocations: 0 / 0.6018 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.518, allocations: 489.7 kB / 0.6023 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.5181, allocations: 124.6 kB / 0.6024 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.5182, allocations: 11.98 kB / 0.6024 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.5183, allocations: 12 kB / 0.6024 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5184, allocations: 15.97 kB / 0.6024 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.5184, allocations: 12 kB / 0.6024 GB, free: 1.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002452/0.5186, allocations: 259.1 kB / 0.6027 GB, free: 1.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5186, allocations: 4 kB / 0.6027 GB, free: 1.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.519, allocations: 59.94 kB / 0.6027 GB, free: 1.434 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.001112/0.5201, allocations: 490.5 kB / 0.6032 GB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.5204, allocations: 147.9 kB / 0.6033 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5204, allocations: 0 / 0.6033 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.5205, allocations: 88.22 kB / 0.6034 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.5209, allocations: 57.12 kB / 0.6035 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.5215, allocations: 399.6 kB / 0.6039 GB, free: 372 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5219, allocations: 0.7678 MB / 0.6046 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.522, allocations: 50.06 kB / 0.6047 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.5221, allocations: 31.42 kB / 0.6047 GB, free: 15.49 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5221, allocations: 0 / 0.6047 GB, free: 15.49 MB / 426.7 MB Notification: Performance of Templates: time 0.005758/0.5278, allocations: 3.13 MB / 0.6078 GB, free: 12.39 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches