Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 180.7 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.226/1.226, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008114/0.0008117, allocations: 92.03 kB / 287 MB, free: 252 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.1807/0.1807, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.697e-05, allocations: 12.22 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4768, allocations: 89.06 MB / 0.5887 GB, free: 260 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.477, allocations: 71.97 kB / 0.5888 GB, free: 188 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.4934, allocations: 6.653 MB / 0.5953 GB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4934, allocations: 0 / 0.5953 GB, free: 9.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.4934, allocations: 11.94 kB / 0.5953 GB, free: 9.531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006888/0.4941, allocations: 0.5909 MB / 0.5958 GB, free: 8.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4942, allocations: 8.031 kB / 0.5958 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.4943, allocations: 51.34 kB / 0.5959 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.495, allocations: 471.1 kB / 0.5963 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.4951, allocations: 7.938 kB / 0.5964 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.4951, allocations: 4 kB / 0.5964 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4953, allocations: 91.36 kB / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4953, allocations: 0 / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.4953, allocations: 8 kB / 0.5965 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4953, allocations: 0 / 0.5965 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.4954, allocations: 27.98 kB / 0.5965 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.4958, allocations: 378.3 kB / 0.5968 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.496, allocations: 109.2 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.4961, allocations: 37.81 kB / 0.597 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4961, allocations: 3.984 kB / 0.597 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.4963, allocations: 109 kB / 0.5971 GB, free: 7.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4963, allocations: 4 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003249/0.4967, allocations: 161 kB / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4967, allocations: 81.11 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4978, allocations: 0.907 MB / 0.5982 GB, free: 6.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4979, allocations: 29.7 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.498, allocations: 228.1 kB / 0.5985 GB, free: 6.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.4981, allocations: 31.55 kB / 0.5985 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.4981, allocations: 4 kB / 0.5985 GB, free: 5.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4983, allocations: 370.8 kB / 0.5988 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.4984, allocations: 24 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.4984, allocations: 55.42 kB / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.4985, allocations: 27.98 kB / 0.5989 GB, free: 5.504 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4985, allocations: 3.938 kB / 0.5989 GB, free: 5.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002389/0.4987, allocations: 169 kB / 0.5991 GB, free: 5.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4988, allocations: 4 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4988, allocations: 4 kB / 0.5991 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4988, allocations: 0 / 0.5991 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4989, allocations: 19.98 kB / 0.5991 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4989, allocations: 7.938 kB / 0.5991 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.499, allocations: 19.78 kB / 0.5992 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.4991, allocations: 11.98 kB / 0.5992 GB, free: 5.262 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.451e-05/0.4992, allocations: 112.9 kB / 0.5993 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.4992, allocations: 55.39 kB / 0.5993 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.4995, allocations: 197.6 kB / 0.5995 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4995, allocations: 0 / 0.5995 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4996, allocations: 4 kB / 0.5995 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4996, allocations: 0 / 0.5995 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.4999, allocations: 381.3 kB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4999, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.4999, allocations: 15.98 kB / 0.5999 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5, allocations: 3.953 kB / 0.5999 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.5, allocations: 8 kB / 0.5999 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5, allocations: 4 kB / 0.5999 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5, allocations: 3.938 kB / 0.5999 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.5003, allocations: 211 kB / 0.6001 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.5005, allocations: 192.5 kB / 0.6003 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.5006, allocations: 7.938 kB / 0.6003 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.5007, allocations: 11.98 kB / 0.6003 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5007, allocations: 11.98 kB / 0.6003 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.5007, allocations: 4 kB / 0.6003 GB, free: 3.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007458/0.5015, allocations: 0.724 MB / 0.6011 GB, free: 3.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5015, allocations: 0 / 0.6011 GB, free: 3.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.5018, allocations: 79.94 kB / 0.6011 GB, free: 3.148 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008264/0.5026, allocations: 398.1 kB / 0.6015 GB, free: 2.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.5028, allocations: 75.94 kB / 0.6016 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5028, allocations: 0 / 0.6016 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.5028, allocations: 39.92 kB / 0.6016 GB, free: 2.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5032, allocations: 69.23 kB / 0.6017 GB, free: 2.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.5043, allocations: 0.7487 MB / 0.6024 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5047, allocations: 0.8507 MB / 0.6032 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.5049, allocations: 95.44 kB / 0.6033 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.505, allocations: 39.42 kB / 0.6034 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.505, allocations: 0 / 0.6034 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of Templates: time 0.007816/0.5128, allocations: 4.503 MB / 0.6078 GB, free: 12.41 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches