Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001554/0.001554, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.708/1.708, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008072/0.0008072, allocations: 89.34 kB / 271.3 MB, free: 8.254 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.3918/0.3918, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004221, allocations: 16 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 58.86 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4921, allocations: 88.54 MB / 0.5664 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.4925, allocations: 79.95 kB / 0.5665 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02065/0.5132, allocations: 6.955 MB / 0.5733 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5132, allocations: 0 / 0.5733 GB, free: 6.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.5133, allocations: 4 kB / 0.5733 GB, free: 6.293 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.0009752/0.5142, allocations: 0.5421 MB / 0.5738 GB, free: 5.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.5143, allocations: 8.031 kB / 0.5738 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.5144, allocations: 24.66 kB / 0.5739 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.5151, allocations: 303.5 kB / 0.5742 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.5151, allocations: 4.375 kB / 0.5742 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.5151, allocations: 8.375 kB / 0.5742 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.5154, allocations: 105.8 kB / 0.5743 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5154, allocations: 192 / 0.5743 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5154, allocations: 4.688 kB / 0.5743 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5155, allocations: 7.984 kB / 0.5743 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.5156, allocations: 43.91 kB / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.5163, allocations: 393.6 kB / 0.5747 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.5166, allocations: 129.2 kB / 0.5748 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5168, allocations: 41.69 kB / 0.5749 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5168, allocations: 8 kB / 0.5749 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.517, allocations: 114.2 kB / 0.575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.517, allocations: 3.938 kB / 0.575 GB, free: 4.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004802/0.5175, allocations: 189.3 kB / 0.5752 GB, free: 4.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.5176, allocations: 106.8 kB / 0.5753 GB, free: 4.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.5181, allocations: 335 kB / 0.5756 GB, free: 3.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.5182, allocations: 29.7 kB / 0.5756 GB, free: 3.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.5183, allocations: 139.2 kB / 0.5758 GB, free: 3.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.5183, allocations: 31.55 kB / 0.5758 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.5183, allocations: 4 kB / 0.5758 GB, free: 3.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5185, allocations: 338.8 kB / 0.5761 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.5186, allocations: 31.98 kB / 0.5761 GB, free: 3.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5188, allocations: 88.08 kB / 0.5762 GB, free: 3.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.519, allocations: 99.78 kB / 0.5763 GB, free: 2.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5191, allocations: 4 kB / 0.5763 GB, free: 2.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003148/0.5194, allocations: 153.3 kB / 0.5765 GB, free: 2.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5194, allocations: 5.875 kB / 0.5765 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5194, allocations: 0 / 0.5765 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5194, allocations: 7.938 kB / 0.5765 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5196, allocations: 23.98 kB / 0.5765 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.5196, allocations: 4 kB / 0.5765 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.5197, allocations: 11.94 kB / 0.5765 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5197, allocations: 4 kB / 0.5765 GB, free: 2.723 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.0001705/0.5199, allocations: 165.7 kB / 0.5767 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5199, allocations: 23.72 kB / 0.5767 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.5203, allocations: 179.3 kB / 0.5769 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5204, allocations: 4 kB / 0.5769 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5204, allocations: 0 / 0.5769 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5204, allocations: 0 / 0.5769 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.5207, allocations: 261.5 kB / 0.5771 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5207, allocations: 4 kB / 0.5771 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.5207, allocations: 15.98 kB / 0.5771 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5208, allocations: 0 / 0.5771 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5208, allocations: 4 kB / 0.5771 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5208, allocations: 0 / 0.5771 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5208, allocations: 0 / 0.5771 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5211, allocations: 197.7 kB / 0.5773 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5212, allocations: 116.8 kB / 0.5774 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.5213, allocations: 12 kB / 0.5775 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.5214, allocations: 11.98 kB / 0.5775 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.5215, allocations: 11.98 kB / 0.5775 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.5215, allocations: 4 kB / 0.5775 GB, free: 1.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002942/0.5218, allocations: 245.9 kB / 0.5777 GB, free: 1.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5218, allocations: 4 kB / 0.5777 GB, free: 1.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.5221, allocations: 47.88 kB / 0.5778 GB, free: 1.336 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.00103/0.5231, allocations: 426.5 kB / 0.5782 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5235, allocations: 99.89 kB / 0.5783 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.5235, allocations: 4 kB / 0.5783 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5236, allocations: 55.91 kB / 0.5783 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.524, allocations: 56.78 kB / 0.5784 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.525, allocations: 441.6 kB / 0.5788 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.5256, allocations: 0.744 MB / 0.5795 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.5258, allocations: 37.67 kB / 0.5796 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.5259, allocations: 27.38 kB / 0.5796 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5259, allocations: 0 / 0.5796 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.008096/0.534, allocations: 2.979 MB / 0.5825 GB, free: 12.54 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches