Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 181.3 kB / 17.41 MB, free: 4.406 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.517/1.517, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000685/0.0006847, allocations: 82.42 kB / 271.9 MB, free: 8.266 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.2865/0.2865, allocations: 43.55 MB / 363.8 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.3959, allocations: 87.87 MB / 0.5657 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3961, allocations: 75.97 kB / 0.5658 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.4159, allocations: 7.849 MB / 0.5735 GB, free: 6.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.416, allocations: 0 / 0.5735 GB, free: 6.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.416, allocations: 4 kB / 0.5735 GB, free: 6.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006904/0.4167, allocations: 0.5507 MB / 0.574 GB, free: 6.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.4168, allocations: 8.031 kB / 0.574 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.4168, allocations: 32.56 kB / 0.5741 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.4173, allocations: 316 kB / 0.5744 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4173, allocations: 4.375 kB / 0.5744 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4173, allocations: 12.28 kB / 0.5744 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4175, allocations: 103.8 kB / 0.5745 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4175, allocations: 4.188 kB / 0.5745 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4176, allocations: 3.938 kB / 0.5745 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4176, allocations: 0 / 0.5745 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.4177, allocations: 43.97 kB / 0.5745 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.4182, allocations: 485 kB / 0.575 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.4185, allocations: 125.2 kB / 0.5751 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.39e-05/0.4186, allocations: 49.69 kB / 0.5752 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4186, allocations: 0 / 0.5752 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.4188, allocations: 105.1 kB / 0.5753 GB, free: 4.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.4188, allocations: 4 kB / 0.5753 GB, free: 4.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008444/0.4197, allocations: 391.6 kB / 0.5756 GB, free: 4.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4198, allocations: 85.09 kB / 0.5757 GB, free: 4.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.4202, allocations: 473.6 kB / 0.5762 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4203, allocations: 29.7 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.4204, allocations: 160.3 kB / 0.5763 GB, free: 3.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.4204, allocations: 51.34 kB / 0.5764 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.4204, allocations: 8.75 kB / 0.5764 GB, free: 3.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4205, allocations: 350.7 kB / 0.5767 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.4206, allocations: 43.36 kB / 0.5768 GB, free: 3.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4208, allocations: 77.81 kB / 0.5769 GB, free: 2.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.421, allocations: 123.3 kB / 0.577 GB, free: 2.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.421, allocations: 3.938 kB / 0.577 GB, free: 2.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003196/0.4213, allocations: 185.2 kB / 0.5772 GB, free: 2.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4213, allocations: 8 kB / 0.5772 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4213, allocations: 3.938 kB / 0.5772 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.4214, allocations: 0 / 0.5772 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4215, allocations: 39.92 kB / 0.5772 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4215, allocations: 0 / 0.5772 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.4216, allocations: 16.05 kB / 0.5772 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4216, allocations: 8 kB / 0.5772 GB, free: 2.555 MB / 394.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.00014/0.4218, allocations: 170.3 kB / 0.5774 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.4218, allocations: 27.62 kB / 0.5774 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.4222, allocations: 232.5 kB / 0.5776 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4222, allocations: 4 kB / 0.5776 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4223, allocations: 4 kB / 0.5776 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4223, allocations: 0 / 0.5776 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007915/0.4231, allocations: 0.6991 MB / 0.5783 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4231, allocations: 0 / 0.5783 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.4231, allocations: 27.92 kB / 0.5784 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4232, allocations: 64 / 0.5784 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4232, allocations: 15.94 kB / 0.5784 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4232, allocations: 4 kB / 0.5784 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4232, allocations: 4 kB / 0.5784 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.4236, allocations: 380 kB / 0.5787 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4237, allocations: 128.7 kB / 0.5789 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4238, allocations: 11.94 kB / 0.5789 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4239, allocations: 11.98 kB / 0.5789 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4239, allocations: 11.98 kB / 0.5789 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.424, allocations: 8 kB / 0.5789 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003393/0.4243, allocations: 355.1 kB / 0.5792 GB, free: 376 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4243, allocations: 0 / 0.5792 GB, free: 376 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.4247, allocations: 63.92 kB / 0.5793 GB, free: 312 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0009568/0.4256, allocations: 486.2 kB / 0.5798 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.4259, allocations: 120 kB / 0.5799 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4259, allocations: 0 / 0.5799 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.4261, allocations: 63.91 kB / 0.5799 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.4266, allocations: 63.7 kB / 0.58 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.4275, allocations: 0.6542 MB / 0.5806 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4278, allocations: 0.7752 MB / 0.5814 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.4279, allocations: 27.42 kB / 0.5814 GB, free: 14.17 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4279, allocations: 0 / 0.5814 GB, free: 14.17 MB / 410.7 MB Notification: Performance of Templates: time 0.00515/0.4331, allocations: 3.601 MB / 0.5849 GB, free: 10.58 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches