Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 175.9 kB / 16.76 MB, free: 5.047 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.709/1.709, allocations: 205.4 MB / 222.9 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.0008295/0.0008294, allocations: 88.8 kB / 271.3 MB, free: 8.23 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.3959/0.3959, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 20 kB / 432.6 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.5034, allocations: 87.77 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5037, allocations: 71.97 kB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.519, allocations: 5.573 MB / 0.5712 GB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.519, allocations: 0 / 0.5712 GB, free: 8.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.519, allocations: 0 / 0.5712 GB, free: 8.48 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.0006359/0.5197, allocations: 437.8 kB / 0.5716 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5198, allocations: 8.031 kB / 0.5716 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.5198, allocations: 12.84 kB / 0.5716 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5202, allocations: 224 kB / 0.5718 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5202, allocations: 8.359 kB / 0.5718 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.5202, allocations: 384 / 0.5718 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5204, allocations: 54.23 kB / 0.5719 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5204, allocations: 12.17 kB / 0.5719 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5204, allocations: 7.938 kB / 0.5719 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5205, allocations: 3.938 kB / 0.5719 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.5205, allocations: 19.98 kB / 0.5719 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.521, allocations: 296.9 kB / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.5212, allocations: 54.62 kB / 0.5723 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.5213, allocations: 37.66 kB / 0.5723 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.5213, allocations: 3.938 kB / 0.5723 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5215, allocations: 63.39 kB / 0.5724 GB, free: 7.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.5215, allocations: 0 / 0.5724 GB, free: 7.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.5221, allocations: 185.1 kB / 0.5725 GB, free: 6.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5221, allocations: 55.39 kB / 0.5726 GB, free: 6.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.5224, allocations: 222.7 kB / 0.5728 GB, free: 6.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.5224, allocations: 29.7 kB / 0.5728 GB, free: 6.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.5225, allocations: 104.1 kB / 0.5729 GB, free: 6.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5225, allocations: 23.66 kB / 0.573 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5225, allocations: 0 / 0.573 GB, free: 6.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5227, allocations: 330.8 kB / 0.5733 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.5227, allocations: 19.98 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.5228, allocations: 46.45 kB / 0.5733 GB, free: 6.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.5229, allocations: 57.64 kB / 0.5734 GB, free: 5.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.523, allocations: 0 / 0.5734 GB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.5232, allocations: 113.4 kB / 0.5735 GB, free: 5.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5232, allocations: 4 kB / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5232, allocations: 4 kB / 0.5735 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5232, allocations: 192 / 0.5735 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.5233, allocations: 15.98 kB / 0.5735 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5233, allocations: 7.969 kB / 0.5735 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.5234, allocations: 4 kB / 0.5735 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5234, allocations: 8 kB / 0.5735 GB, free: 5.824 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 () * Number of clocked 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 0.0001028/0.5235, allocations: 129.8 kB / 0.5737 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.5235, allocations: 11.81 kB / 0.5737 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.5238, allocations: 123 kB / 0.5738 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5238, allocations: 0 / 0.5738 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5238, allocations: 4 kB / 0.5738 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5238, allocations: 0 / 0.5738 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.5243, allocations: 423.2 kB / 0.5742 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5244, allocations: 0 / 0.5742 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.5244, allocations: 15.92 kB / 0.5742 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5244, allocations: 0 / 0.5742 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5244, allocations: 4 kB / 0.5742 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5244, allocations: 0 / 0.5742 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5244, allocations: 7.969 kB / 0.5742 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.5247, allocations: 220.3 kB / 0.5744 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.5248, allocations: 93 kB / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.5248, allocations: 8 kB / 0.5745 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.5249, allocations: 7.984 kB / 0.5745 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.525, allocations: 3.938 kB / 0.5745 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.525, allocations: 8 kB / 0.5746 GB, free: 4.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.5252, allocations: 178.4 kB / 0.5747 GB, free: 4.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5252, allocations: 0 / 0.5747 GB, free: 4.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.5254, allocations: 31.94 kB / 0.5748 GB, free: 4.473 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) * Number of clocked states: 0 () * 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.00103/0.5265, allocations: 482 kB / 0.5752 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.5267, allocations: 67.84 kB / 0.5753 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5267, allocations: 0 / 0.5753 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.5268, allocations: 35.92 kB / 0.5753 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5271, allocations: 23.97 kB / 0.5753 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.5277, allocations: 288.9 kB / 0.5756 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.528, allocations: 0.7121 MB / 0.5763 GB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.528, allocations: 16.55 kB / 0.5763 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.5281, allocations: 19.44 kB / 0.5763 GB, free: 2.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5281, allocations: 0 / 0.5763 GB, free: 2.902 MB / 394.7 MB Notification: Performance of Templates: time 0.004552/0.5327, allocations: 1.761 MB / 0.5781 GB, free: 1.152 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches