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.001482/0.001481, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 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.5 MB / 230.7 MB, free: 7.586 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.0008214/0.0008215, allocations: 90.7 kB / 281.6 MB, free: 5.332 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.182/0.182, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.6e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5076, allocations: 88.52 MB / 0.5811 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5079, allocations: 71.97 kB / 0.5812 GB, free: 7.934 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.5228, allocations: 5.402 MB / 0.5865 GB, free: 2.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5228, allocations: 0 / 0.5865 GB, free: 2.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.5228, allocations: 4 kB / 0.5865 GB, free: 2.539 MB / 394.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.0004864/0.5233, allocations: 390.2 kB / 0.5868 GB, free: 2.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5234, allocations: 11.98 kB / 0.5869 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.5234, allocations: 7.906 kB / 0.5869 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5237, allocations: 218.8 kB / 0.5871 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5238, allocations: 3.953 kB / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5238, allocations: 4 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.09e-05/0.5239, allocations: 15.98 kB / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.524, allocations: 53.62 kB / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.524, allocations: 0 / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.524, allocations: 3.984 kB / 0.5872 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.524, allocations: 0 / 0.5872 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.5244, allocations: 269.4 kB / 0.5874 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.5245, allocations: 54.62 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.5246, allocations: 16.98 kB / 0.5875 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.5246, allocations: 0 / 0.5875 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.5247, allocations: 67.39 kB / 0.5875 GB, free: 1.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.5247, allocations: 0 / 0.5875 GB, free: 1.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004819/0.5252, allocations: 149.2 kB / 0.5877 GB, free: 1.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5253, allocations: 51.41 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.5254, allocations: 158.3 kB / 0.5879 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5255, allocations: 29.7 kB / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.5255, allocations: 100.1 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.5256, allocations: 23.66 kB / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5256, allocations: 0 / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5257, allocations: 318.8 kB / 0.5883 GB, free: 452 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.5258, allocations: 24 kB / 0.5884 GB, free: 428 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.5258, allocations: 37.64 kB / 0.5884 GB, free: 384 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.5259, allocations: 23.95 kB / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5259, allocations: 0 / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001359/0.526, allocations: 85.58 kB / 0.5885 GB, free: 268 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5261, allocations: 8 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5261, allocations: 192 / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5261, allocations: 0 / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5262, allocations: 24.09 kB / 0.5885 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5262, allocations: 7.984 kB / 0.5885 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.5263, allocations: 4 kB / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5263, allocations: 4 kB / 0.5885 GB, free: 220 kB / 394.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 7.567e-05/0.5264, allocations: 110.9 kB / 0.5886 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.5264, allocations: 11.91 kB / 0.5887 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.5266, allocations: 114.1 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.5266, allocations: 0 / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5266, allocations: 4 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5266, allocations: 0 / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.527, allocations: 375.8 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5271, allocations: 0 / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.5271, allocations: 15.98 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5271, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.5271, allocations: 0 / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5271, allocations: 4 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5272, allocations: 240 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.5274, allocations: 217.9 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.5274, allocations: 92.91 kB / 0.5894 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5275, allocations: 0 / 0.5894 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.5275, allocations: 4 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5276, allocations: 11.98 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5276, allocations: 8 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.5277, allocations: 123.3 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5277, allocations: 0 / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.528, allocations: 31.92 kB / 0.5896 GB, free: 15.01 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.0009091/0.5289, allocations: 391.5 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.529, allocations: 51.92 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5291, allocations: 0 / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.5291, allocations: 31.98 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.5294, allocations: 29.16 kB / 0.5901 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.5297, allocations: 146.2 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.53, allocations: 0.7041 MB / 0.5909 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.5301, allocations: 32.33 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.5301, allocations: 15.44 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5301, allocations: 4 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of Templates: time 0.004134/0.5343, allocations: 1.597 MB / 0.5925 GB, free: 12.05 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