Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 183.2 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.44/1.44, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008733/0.0008732, allocations: 89 kB / 267 MB, free: 9.289 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.3516/0.3516, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.993e-05, allocations: 7.984 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.491, allocations: 87.84 MB / 0.5586 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.4913, allocations: 73.27 kB / 0.5587 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.5067, allocations: 5.785 MB / 0.5643 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5068, allocations: 0 / 0.5643 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.5068, allocations: 0 / 0.5643 GB, free: 11.39 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.0004494/0.5073, allocations: 391.9 kB / 0.5647 GB, free: 10.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5073, allocations: 8.031 kB / 0.5647 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5074, allocations: 11.34 kB / 0.5647 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.5076, allocations: 210.8 kB / 0.5649 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5077, allocations: 0 / 0.5649 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.5077, allocations: 8 kB / 0.5649 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.5078, allocations: 68.77 kB / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5079, allocations: 0 / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5079, allocations: 0 / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5079, allocations: 0 / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.5079, allocations: 27.92 kB / 0.565 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.5084, allocations: 280.9 kB / 0.5653 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5085, allocations: 54.69 kB / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.5085, allocations: 20.98 kB / 0.5654 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.5086, allocations: 3.938 kB / 0.5654 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.5087, allocations: 67.33 kB / 0.5654 GB, free: 10.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.5087, allocations: 0 / 0.5654 GB, free: 10.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004434/0.5092, allocations: 157.3 kB / 0.5656 GB, free: 9.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.5092, allocations: 86.39 kB / 0.5657 GB, free: 9.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.5094, allocations: 142.1 kB / 0.5658 GB, free: 9.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5094, allocations: 29.7 kB / 0.5658 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.5095, allocations: 96.14 kB / 0.5659 GB, free: 9.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.5095, allocations: 27.64 kB / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5095, allocations: 0 / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5096, allocations: 318.8 kB / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.5097, allocations: 24 kB / 0.5663 GB, free: 9.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.5097, allocations: 43.22 kB / 0.5663 GB, free: 9.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.5098, allocations: 20 kB / 0.5663 GB, free: 9.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5098, allocations: 0 / 0.5663 GB, free: 9.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001434/0.51, allocations: 93.52 kB / 0.5664 GB, free: 9.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.51, allocations: 11.95 kB / 0.5664 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.51, allocations: 0 / 0.5664 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.51, allocations: 64 / 0.5664 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.5101, allocations: 24.19 kB / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5101, allocations: 3.938 kB / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.5102, allocations: 8.109 kB / 0.5665 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5102, allocations: 4 kB / 0.5665 GB, free: 8.977 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 7.492e-05/0.5103, allocations: 110.2 kB / 0.5666 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.5103, allocations: 15.89 kB / 0.5666 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.5105, allocations: 118.2 kB / 0.5667 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5105, allocations: 0 / 0.5667 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5105, allocations: 4 kB / 0.5667 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5105, allocations: 0 / 0.5667 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.511, allocations: 403.2 kB / 0.5671 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.511, allocations: 3.953 kB / 0.5671 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.511, allocations: 8 kB / 0.5671 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.511, allocations: 0 / 0.5671 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.511, allocations: 8 kB / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.511, allocations: 0 / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5111, allocations: 8.016 kB / 0.5671 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.5113, allocations: 217.8 kB / 0.5673 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.5114, allocations: 89.02 kB / 0.5674 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.5114, allocations: 0 / 0.5674 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.5115, allocations: 11.98 kB / 0.5674 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.5115, allocations: 8 kB / 0.5674 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5115, allocations: 4 kB / 0.5674 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.5116, allocations: 128.6 kB / 0.5675 GB, free: 7.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5116, allocations: 0 / 0.5675 GB, free: 7.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.5119, allocations: 39.94 kB / 0.5676 GB, free: 7.715 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.0009971/0.5129, allocations: 460 kB / 0.568 GB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5131, allocations: 55.94 kB / 0.5681 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5131, allocations: 0 / 0.5681 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.5131, allocations: 31.94 kB / 0.5681 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.5134, allocations: 32.05 kB / 0.5681 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.5138, allocations: 127.7 kB / 0.5683 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5141, allocations: 0.7043 MB / 0.5689 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.5141, allocations: 30.31 kB / 0.569 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.5142, allocations: 23.36 kB / 0.569 GB, free: 6.289 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5142, allocations: 0 / 0.569 GB, free: 6.289 MB / 394.7 MB Notification: Performance of Templates: time 0.004102/0.5183, allocations: 1.905 MB / 0.5709 GB, free: 4.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches