Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002113/0.002113, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001106/0.001105, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2739/0.2739, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.265e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5856, allocations: 87.73 MB / 0.5585 GB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.586, allocations: 80.36 kB / 0.5586 GB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0356/0.6216, allocations: 7.488 MB / 0.5659 GB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6216, allocations: 7.938 kB / 0.5659 GB, free: 9.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.6217, allocations: 7.984 kB / 0.5659 GB, free: 9.496 MB / 378.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.0008235/0.6225, allocations: 471.5 kB / 0.5663 GB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6226, allocations: 8.031 kB / 0.5663 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.6227, allocations: 23.72 kB / 0.5664 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.6233, allocations: 276.5 kB / 0.5666 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.6234, allocations: 14.97 kB / 0.5666 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.6234, allocations: 4 kB / 0.5666 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.6237, allocations: 91.56 kB / 0.5667 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6237, allocations: 0 / 0.5667 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.6237, allocations: 7.375 kB / 0.5667 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.6238, allocations: 0 / 0.5667 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.6239, allocations: 46.09 kB / 0.5668 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.6248, allocations: 461.1 kB / 0.5672 GB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.6251, allocations: 105.9 kB / 0.5673 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.6253, allocations: 40.53 kB / 0.5674 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.6253, allocations: 4 kB / 0.5674 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.6256, allocations: 114.4 kB / 0.5675 GB, free: 7.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.916e-06/0.6256, allocations: 0 / 0.5675 GB, free: 7.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.6267, allocations: 326.3 kB / 0.5678 GB, free: 7.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.6268, allocations: 84.55 kB / 0.5679 GB, free: 7.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.6274, allocations: 323.5 kB / 0.5682 GB, free: 7.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.6274, allocations: 28.89 kB / 0.5682 GB, free: 7.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6276, allocations: 184.3 kB / 0.5684 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.6277, allocations: 55.28 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.6277, allocations: 3.562 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6279, allocations: 318.2 kB / 0.5687 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.628, allocations: 38.81 kB / 0.5688 GB, free: 6.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.6282, allocations: 70.34 kB / 0.5688 GB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.6283, allocations: 49.03 kB / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6283, allocations: 0 / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000445/0.6288, allocations: 159 kB / 0.569 GB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6288, allocations: 4 kB / 0.569 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6288, allocations: 0 / 0.569 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6289, allocations: 4 kB / 0.569 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6292, allocations: 35.3 kB / 0.5691 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.6292, allocations: 12.61 kB / 0.5691 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6294, allocations: 4 kB / 0.5691 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.6294, allocations: 7.5 kB / 0.5691 GB, free: 6.316 MB / 378.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 () * 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.000121/0.6296, allocations: 116.2 kB / 0.5692 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.6296, allocations: 31.66 kB / 0.5692 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.6303, allocations: 209.7 kB / 0.5694 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6304, allocations: 8 kB / 0.5695 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.6304, allocations: 0 / 0.5695 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.6304, allocations: 3.984 kB / 0.5695 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6317, allocations: 0.6501 MB / 0.5701 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6317, allocations: 4 kB / 0.5701 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.6319, allocations: 19.98 kB / 0.5701 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.6319, allocations: 4.062 kB / 0.5701 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.632, allocations: 11.06 kB / 0.5701 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.632, allocations: 11.92 kB / 0.5701 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.632, allocations: 0 / 0.5701 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.6327, allocations: 404.6 kB / 0.5705 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.6328, allocations: 119.8 kB / 0.5706 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.6329, allocations: 4 kB / 0.5706 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.6332, allocations: 11.75 kB / 0.5707 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.6332, allocations: 19 kB / 0.5707 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.6333, allocations: 11.98 kB / 0.5707 GB, free: 4.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004524/0.6338, allocations: 263.9 kB / 0.5709 GB, free: 4.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6338, allocations: 0 / 0.5709 GB, free: 4.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.6343, allocations: 51.5 kB / 0.571 GB, free: 4.492 MB / 378.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) * 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.001931/0.6362, allocations: 430.6 kB / 0.5714 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.6369, allocations: 121 kB / 0.5715 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6369, allocations: 0 / 0.5715 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.6372, allocations: 66.41 kB / 0.5716 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.638, allocations: 49.78 kB / 0.5716 GB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.639, allocations: 390.4 kB / 0.572 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.6395, allocations: 0.7557 MB / 0.5727 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.6397, allocations: 30.92 kB / 0.5728 GB, free: 2.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6397, allocations: 0 / 0.5728 GB, free: 2.77 MB / 378.7 MB Notification: Performance of Templates: time 0.009116/0.6488, allocations: 3.219 MB / 0.5759 GB, free: 15.58 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches