Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008783/0.0008782, allocations: 182.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.524/1.524, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007938/0.0007942, allocations: 89.09 kB / 271.9 MB, free: 8.246 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.3636/0.3636, allocations: 43.55 MB / 363.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 16 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4603, allocations: 88.55 MB / 0.5664 GB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4606, allocations: 71.97 kB / 0.5665 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.4794, allocations: 6.954 MB / 0.5733 GB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4795, allocations: 0 / 0.5733 GB, free: 6.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4795, allocations: 4 kB / 0.5733 GB, free: 6.867 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007236/0.4802, allocations: 0.547 MB / 0.5738 GB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4803, allocations: 8.031 kB / 0.5738 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.4803, allocations: 24.66 kB / 0.5738 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.4808, allocations: 307.5 kB / 0.5741 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4808, allocations: 4.375 kB / 0.5741 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4808, allocations: 4.375 kB / 0.5741 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.4811, allocations: 105.8 kB / 0.5742 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4811, allocations: 4.172 kB / 0.5742 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4811, allocations: 7.938 kB / 0.5743 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4811, allocations: 4 kB / 0.5743 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.4813, allocations: 43.91 kB / 0.5743 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.4818, allocations: 389.6 kB / 0.5747 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.4821, allocations: 125.2 kB / 0.5748 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.4822, allocations: 45.7 kB / 0.5748 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4822, allocations: 4 kB / 0.5748 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4824, allocations: 121 kB / 0.575 GB, free: 4.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4824, allocations: 0 / 0.575 GB, free: 4.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000448/0.4829, allocations: 186 kB / 0.5751 GB, free: 4.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.483, allocations: 106.8 kB / 0.5752 GB, free: 4.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.4833, allocations: 339 kB / 0.5756 GB, free: 4.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4834, allocations: 25.7 kB / 0.5756 GB, free: 4.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.4835, allocations: 139.1 kB / 0.5757 GB, free: 4.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4835, allocations: 39.61 kB / 0.5758 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.4835, allocations: 0 / 0.5758 GB, free: 4.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4836, allocations: 338.8 kB / 0.5761 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.4837, allocations: 35.92 kB / 0.5761 GB, free: 3.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4839, allocations: 81.12 kB / 0.5762 GB, free: 3.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4841, allocations: 103.8 kB / 0.5763 GB, free: 3.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4841, allocations: 0 / 0.5763 GB, free: 3.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002686/0.4843, allocations: 157.3 kB / 0.5764 GB, free: 3.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4844, allocations: 4 kB / 0.5764 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4844, allocations: 7.938 kB / 0.5764 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4844, allocations: 0 / 0.5764 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4845, allocations: 19.98 kB / 0.5765 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4845, allocations: 4 kB / 0.5765 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.4846, allocations: 19.92 kB / 0.5765 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4846, allocations: 4 kB / 0.5765 GB, free: 3.285 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000145/0.4848, allocations: 157.7 kB / 0.5766 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.4848, allocations: 23.72 kB / 0.5767 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.4852, allocations: 175.2 kB / 0.5768 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4852, allocations: 4 kB / 0.5768 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4852, allocations: 0 / 0.5768 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4853, allocations: 3.984 kB / 0.5768 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4855, allocations: 269.5 kB / 0.5771 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4855, allocations: 4 kB / 0.5771 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.4855, allocations: 8 kB / 0.5771 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4856, allocations: 0 / 0.5771 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.4856, allocations: 8 kB / 0.5771 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4856, allocations: 0 / 0.5771 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4856, allocations: 0 / 0.5771 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.4859, allocations: 193.5 kB / 0.5773 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.486, allocations: 116.8 kB / 0.5774 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.4861, allocations: 11.98 kB / 0.5774 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.4862, allocations: 8.188 kB / 0.5774 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.4862, allocations: 11.98 kB / 0.5774 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.4863, allocations: 11.98 kB / 0.5775 GB, free: 2.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4865, allocations: 245.9 kB / 0.5777 GB, free: 1.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4865, allocations: 3.938 kB / 0.5777 GB, free: 1.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.4868, allocations: 43.98 kB / 0.5777 GB, free: 1.906 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009217/0.4877, allocations: 426.8 kB / 0.5781 GB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.488, allocations: 103.9 kB / 0.5782 GB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.488, allocations: 3.938 kB / 0.5782 GB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4882, allocations: 44.23 kB / 0.5783 GB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4886, allocations: 64.03 kB / 0.5783 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.4893, allocations: 479.3 kB / 0.5788 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4896, allocations: 0.7401 MB / 0.5795 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.4897, allocations: 31.42 kB / 0.5796 GB, free: 76 kB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4897, allocations: 0 / 0.5796 GB, free: 76 kB / 394.7 MB Notification: Performance of Templates: time 0.00513/0.4948, allocations: 3.303 MB / 0.5828 GB, free: 12.78 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches