Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002118/0.002123, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001103/0.001104, allocations: 84.44 kB / 270.9 MB, free: 8.371 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.5064/0.5064, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 15.98 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5816, allocations: 87.71 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5819, allocations: 71.95 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.6063, allocations: 5.508 MB / 0.5698 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6063, allocations: 0 / 0.5698 GB, free: 9.473 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.6063, allocations: 4 kB / 0.5698 GB, free: 9.469 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.0006562/0.607, allocations: 429.7 kB / 0.5702 GB, free: 9.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6071, allocations: 12.02 kB / 0.5703 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.6071, allocations: 20.62 kB / 0.5703 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.6075, allocations: 216.1 kB / 0.5705 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6076, allocations: 0 / 0.5705 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.6076, allocations: 7.938 kB / 0.5705 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.6078, allocations: 61.59 kB / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6078, allocations: 0 / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6079, allocations: 0 / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.6079, allocations: 5.031 kB / 0.5706 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.608, allocations: 15.98 kB / 0.5706 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.6085, allocations: 304.8 kB / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.6088, allocations: 58.62 kB / 0.5709 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.6088, allocations: 4 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.609, allocations: 68.38 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.609, allocations: 0 / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008024/0.6098, allocations: 185.4 kB / 0.5712 GB, free: 7.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6099, allocations: 59.36 kB / 0.5712 GB, free: 7.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.6102, allocations: 191.8 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.6103, allocations: 29.7 kB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.6103, allocations: 166.5 kB / 0.5716 GB, free: 7.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.6104, allocations: 23.7 kB / 0.5716 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.6104, allocations: 4 kB / 0.5716 GB, free: 7.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6105, allocations: 310.8 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.6106, allocations: 27.98 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6108, allocations: 37.7 kB / 0.572 GB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.6109, allocations: 23.94 kB / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6109, allocations: 0 / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002867/0.6112, allocations: 97.58 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6112, allocations: 4 kB / 0.5721 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6112, allocations: 0.75 kB / 0.5721 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6113, allocations: 4.031 kB / 0.5721 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.6114, allocations: 23.92 kB / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6114, allocations: 0 / 0.5721 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.6115, allocations: 7.953 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.6116, allocations: 4 kB / 0.5721 GB, free: 6.91 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 () * Number of clocked 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 0.0001323/0.6117, allocations: 125.8 kB / 0.5723 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.6118, allocations: 11.91 kB / 0.5723 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.6122, allocations: 131 kB / 0.5724 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6122, allocations: 3.984 kB / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6122, allocations: 0 / 0.5724 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6122, allocations: 3.938 kB / 0.5724 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.6129, allocations: 423.2 kB / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6129, allocations: 0 / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.613, allocations: 12 kB / 0.5728 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.613, allocations: 3.984 kB / 0.5728 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6131, allocations: 4.031 kB / 0.5728 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.6131, allocations: 7.953 kB / 0.5728 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6131, allocations: 3.938 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.6135, allocations: 214 kB / 0.573 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.6136, allocations: 100.8 kB / 0.5731 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.6136, allocations: 3.953 kB / 0.5731 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6137, allocations: 12 kB / 0.5731 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.6138, allocations: 7.984 kB / 0.5732 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.6139, allocations: 4 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.6141, allocations: 160.2 kB / 0.5733 GB, free: 5.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6141, allocations: 0 / 0.5733 GB, free: 5.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.6145, allocations: 35.94 kB / 0.5733 GB, free: 5.547 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) * Number of clocked states: 0 () * 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.001322/0.6158, allocations: 482.9 kB / 0.5738 GB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.6161, allocations: 59.91 kB / 0.5739 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6162, allocations: 0 / 0.5739 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.6163, allocations: 39.91 kB / 0.5739 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.6167, allocations: 32.11 kB / 0.5739 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.6174, allocations: 299.3 kB / 0.5742 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.6177, allocations: 0.7121 MB / 0.5749 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.6178, allocations: 19.44 kB / 0.5749 GB, free: 3.961 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6178, allocations: 0 / 0.5749 GB, free: 3.961 MB / 394.7 MB Notification: Performance of Templates: time 0.00546/0.6233, allocations: 1.993 MB / 0.5769 GB, free: 1.98 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches