Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 184 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.0008732, allocations: 86.61 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3325/0.3325, allocations: 43.46 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.553e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4803, allocations: 87.62 MB / 0.5584 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4805, allocations: 72.88 kB / 0.5584 GB, free: 16.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.4936, allocations: 5.443 MB / 0.5638 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4936, allocations: 0 / 0.5638 GB, free: 13.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4936, allocations: 4 kB / 0.5638 GB, free: 13.4 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.0003698/0.494, allocations: 405.6 kB / 0.5642 GB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4941, allocations: 8.031 kB / 0.5642 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4941, allocations: 20.27 kB / 0.5642 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4944, allocations: 210.9 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4944, allocations: 1.453 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4944, allocations: 4 kB / 0.5644 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4945, allocations: 55.17 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4945, allocations: 0 / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4946, allocations: 2.828 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4946, allocations: 0 / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.4946, allocations: 21.03 kB / 0.5645 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.4949, allocations: 301.9 kB / 0.5648 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.495, allocations: 58.19 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.4951, allocations: 16.3 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4951, allocations: 0 / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.4952, allocations: 75.83 kB / 0.5649 GB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4952, allocations: 0 / 0.5649 GB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003851/0.4956, allocations: 156 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.4957, allocations: 51.41 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4958, allocations: 185.7 kB / 0.5653 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.4958, allocations: 29.64 kB / 0.5653 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.4959, allocations: 103.1 kB / 0.5654 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.4959, allocations: 27.34 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.4959, allocations: 3.938 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.4959, allocations: 322.8 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.496, allocations: 19.88 kB / 0.5658 GB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.496, allocations: 43.39 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.4961, allocations: 19.62 kB / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4961, allocations: 0 / 0.5658 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001169/0.4962, allocations: 101.5 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4962, allocations: 8 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4962, allocations: 4 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4963, allocations: 0 / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.4963, allocations: 19.92 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4964, allocations: 4.109 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.4964, allocations: 4 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.4964, allocations: 11.8 kB / 0.566 GB, free: 11.19 MB / 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 4.641e-05/0.4965, allocations: 105.5 kB / 0.5661 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.4965, allocations: 15.84 kB / 0.5661 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.4967, allocations: 119.5 kB / 0.5662 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4967, allocations: 0 / 0.5662 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4967, allocations: 0 / 0.5662 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4967, allocations: 3.953 kB / 0.5662 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.4971, allocations: 409.5 kB / 0.5666 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4971, allocations: 3.984 kB / 0.5666 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.4971, allocations: 12.03 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4971, allocations: 4 kB / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4971, allocations: 0 / 0.5666 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4971, allocations: 7.891 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4972, allocations: 0 / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.4973, allocations: 221.2 kB / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.4974, allocations: 100.9 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4974, allocations: 11.25 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.4975, allocations: 4 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.4975, allocations: 7.984 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4975, allocations: 7.188 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.622e-05/0.4976, allocations: 153.8 kB / 0.5671 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4976, allocations: 0 / 0.5671 GB, free: 10.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.4978, allocations: 30.81 kB / 0.5671 GB, free: 10 MB / 394.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.0008542/0.4987, allocations: 432.9 kB / 0.5675 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4988, allocations: 52.62 kB / 0.5676 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4988, allocations: 0 / 0.5676 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.4989, allocations: 33.25 kB / 0.5676 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4991, allocations: 27.47 kB / 0.5676 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.4994, allocations: 173 kB / 0.5678 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.4996, allocations: 0.7082 MB / 0.5685 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.4996, allocations: 20.86 kB / 0.5685 GB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.4997, allocations: 22.36 kB / 0.5685 GB, free: 8.629 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4997, allocations: 0 / 0.5685 GB, free: 8.629 MB / 394.7 MB Notification: Performance of Templates: time 0.003413/0.5031, allocations: 1.71 MB / 0.5702 GB, free: 6.934 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches