Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 183 kB / 13.19 MB, free: 2.129 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.51/1.51, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008991/0.000899, allocations: 85.88 kB / 267.1 MB, free: 9.277 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.4288/0.4288, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 4 kB / 425.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 58.84 MB / 484.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5116, allocations: 87.57 MB / 0.5583 GB, free: 1.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5119, allocations: 80.5 kB / 0.5584 GB, free: 1.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.5257, allocations: 5.166 MB / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.55e-06/0.5257, allocations: 0 / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.5258, allocations: 7.938 kB / 0.5635 GB, free: 12.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005575/0.5263, allocations: 388.1 kB / 0.5638 GB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5264, allocations: 8.031 kB / 0.5638 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.5264, allocations: 11.34 kB / 0.5638 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.5267, allocations: 215.4 kB / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5268, allocations: 0 / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.5268, allocations: 4 kB / 0.5641 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.527, allocations: 54.42 kB / 0.5641 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.527, allocations: 0 / 0.5641 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.527, allocations: 1.375 kB / 0.5641 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.527, allocations: 0 / 0.5641 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.5271, allocations: 23.97 kB / 0.5641 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.5275, allocations: 288.9 kB / 0.5644 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.5276, allocations: 62.62 kB / 0.5645 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.5276, allocations: 16.98 kB / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5277, allocations: 0 / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.5278, allocations: 71.3 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5278, allocations: 7.938 kB / 0.5646 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004527/0.5283, allocations: 157.2 kB / 0.5647 GB, free: 10.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5283, allocations: 56.72 kB / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.5285, allocations: 146.1 kB / 0.5649 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5285, allocations: 25.7 kB / 0.5649 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.5286, allocations: 104.1 kB / 0.565 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.5286, allocations: 19.72 kB / 0.565 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5286, allocations: 0 / 0.565 GB, free: 10.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5287, allocations: 326.8 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.864e-05/0.5288, allocations: 23.94 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.5288, allocations: 38.36 kB / 0.5654 GB, free: 10.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.5289, allocations: 16.7 kB / 0.5654 GB, free: 9.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5289, allocations: 4 kB / 0.5654 GB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001454/0.5291, allocations: 97.52 kB / 0.5655 GB, free: 9.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5291, allocations: 5.094 kB / 0.5655 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5291, allocations: 160 / 0.5655 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5291, allocations: 8.031 kB / 0.5655 GB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.5292, allocations: 12.19 kB / 0.5656 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5292, allocations: 7.938 kB / 0.5656 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.5293, allocations: 11.92 kB / 0.5656 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5293, allocations: 4 kB / 0.5656 GB, free: 9.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.33e-05/0.5294, allocations: 106.7 kB / 0.5657 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5294, allocations: 19.75 kB / 0.5657 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.5296, allocations: 106.3 kB / 0.5658 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5296, allocations: 4 kB / 0.5658 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5296, allocations: 4 kB / 0.5658 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5296, allocations: 7.891 kB / 0.5658 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.5301, allocations: 391.4 kB / 0.5662 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5301, allocations: 4 kB / 0.5662 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.5301, allocations: 11.94 kB / 0.5662 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5301, allocations: 0 / 0.5662 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5301, allocations: 4 kB / 0.5662 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5302, allocations: 11.98 kB / 0.5662 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5302, allocations: 0 / 0.5662 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.5304, allocations: 210 kB / 0.5664 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.5305, allocations: 96.91 kB / 0.5665 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.5305, allocations: 7.891 kB / 0.5665 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.5306, allocations: 4.188 kB / 0.5665 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.5306, allocations: 19.98 kB / 0.5665 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.5306, allocations: 0 / 0.5665 GB, free: 8.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.741e-05/0.5307, allocations: 123.6 kB / 0.5667 GB, free: 8.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5307, allocations: 0 / 0.5667 GB, free: 8.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.531, allocations: 35.92 kB / 0.5667 GB, free: 8.59 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009547/0.532, allocations: 428.6 kB / 0.5671 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5321, allocations: 55.98 kB / 0.5672 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5321, allocations: 3.938 kB / 0.5672 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.5322, allocations: 27.98 kB / 0.5672 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.5325, allocations: 23.98 kB / 0.5672 GB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.5328, allocations: 151.7 kB / 0.5674 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.5331, allocations: 0.7043 MB / 0.568 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.5331, allocations: 22.31 kB / 0.5681 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.5332, allocations: 15.44 kB / 0.5681 GB, free: 7.195 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5332, allocations: 0 / 0.5681 GB, free: 7.195 MB / 394.7 MB Notification: Performance of Templates: time 0.004088/0.5373, allocations: 1.64 MB / 0.5697 GB, free: 5.566 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches