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.001459/0.001459, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.893/1.893, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001127/0.001126, allocations: 90.97 kB / 270.9 MB, free: 8.395 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.5147/0.5147, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005676/0.0005676, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5904, allocations: 88.5 MB / 0.5652 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5907, allocations: 75.95 kB / 0.5652 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.6219, allocations: 6.954 MB / 0.572 GB, free: 7.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.06e-06/0.622, allocations: 0 / 0.572 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.622, allocations: 7.938 kB / 0.572 GB, free: 7.082 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.0009545/0.623, allocations: 0.5379 MB / 0.5726 GB, free: 6.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6231, allocations: 8.031 kB / 0.5726 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.6232, allocations: 23.72 kB / 0.5726 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.6238, allocations: 301.8 kB / 0.5729 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.6238, allocations: 8 kB / 0.5729 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.6239, allocations: 4 kB / 0.5729 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.6242, allocations: 104.2 kB / 0.573 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6242, allocations: 0 / 0.573 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.6243, allocations: 0 / 0.573 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6243, allocations: 3.938 kB / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.6245, allocations: 45 kB / 0.573 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.6252, allocations: 389.6 kB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.6257, allocations: 134 kB / 0.5735 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6257, allocations: 0 / 0.5735 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.6261, allocations: 113.1 kB / 0.5736 GB, free: 5.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.6261, allocations: 0 / 0.5736 GB, free: 5.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007346/0.6268, allocations: 193.3 kB / 0.5738 GB, free: 5.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.6269, allocations: 102.8 kB / 0.5739 GB, free: 4.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.6275, allocations: 310.1 kB / 0.5742 GB, free: 4.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.6275, allocations: 26.92 kB / 0.5743 GB, free: 4.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6276, allocations: 185.6 kB / 0.5744 GB, free: 4.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.6277, allocations: 39.7 kB / 0.5745 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.6277, allocations: 3.938 kB / 0.5745 GB, free: 4.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6279, allocations: 318.8 kB / 0.5748 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.628, allocations: 43.97 kB / 0.5748 GB, free: 4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.6282, allocations: 73.12 kB / 0.5749 GB, free: 3.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.6284, allocations: 43.92 kB / 0.5749 GB, free: 3.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6284, allocations: 0 / 0.5749 GB, free: 3.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004447/0.6289, allocations: 134 kB / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6289, allocations: 4 kB / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.629, allocations: 7.984 kB / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.629, allocations: 128 / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.6292, allocations: 31.88 kB / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6292, allocations: 3.984 kB / 0.5751 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.6294, allocations: 11.94 kB / 0.5751 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.6294, allocations: 8 kB / 0.5751 GB, free: 3.664 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.0001965/0.6296, allocations: 157.8 kB / 0.5753 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.6297, allocations: 27.62 kB / 0.5753 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.6303, allocations: 175.3 kB / 0.5755 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6303, allocations: 0 / 0.5755 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6303, allocations: 0 / 0.5755 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6304, allocations: 0 / 0.5755 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.6307, allocations: 269.5 kB / 0.5757 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6307, allocations: 0 / 0.5757 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.6308, allocations: 15.94 kB / 0.5757 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.6308, allocations: 0 / 0.5757 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6308, allocations: 7.984 kB / 0.5757 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6309, allocations: 0 / 0.5757 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6309, allocations: 0 / 0.5757 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.6314, allocations: 212 kB / 0.5759 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6315, allocations: 112.8 kB / 0.5761 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.6316, allocations: 4 kB / 0.5761 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.6318, allocations: 11.98 kB / 0.5761 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.6318, allocations: 11.98 kB / 0.5761 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.6319, allocations: 7.938 kB / 0.5761 GB, free: 2.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004201/0.6323, allocations: 245.9 kB / 0.5763 GB, free: 2.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6323, allocations: 0 / 0.5763 GB, free: 2.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.6327, allocations: 51.94 kB / 0.5764 GB, free: 2.27 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.00124/0.634, allocations: 431.9 kB / 0.5768 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.6345, allocations: 107.9 kB / 0.5769 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6345, allocations: 0 / 0.5769 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.6347, allocations: 55.91 kB / 0.5769 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.6353, allocations: 57.14 kB / 0.577 GB, free: 1.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.6364, allocations: 463.4 kB / 0.5774 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.6367, allocations: 0.7557 MB / 0.5782 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6369, allocations: 27.44 kB / 0.5782 GB, free: 440 kB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6369, allocations: 0 / 0.5782 GB, free: 440 kB / 394.7 MB Notification: Performance of Templates: time 0.008301/0.6452, allocations: 3.288 MB / 0.5814 GB, free: 13.15 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