Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 182.8 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.437/1.437, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008269/0.0008269, allocations: 89.86 kB / 267.1 MB, free: 9.285 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.3598/0.3598, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.142e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.5024, allocations: 87.62 MB / 0.5584 GB, free: 16.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.5026, allocations: 75.92 kB / 0.5584 GB, free: 16.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.5161, allocations: 5.409 MB / 0.5637 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5162, allocations: 0 / 0.5637 GB, free: 13.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5162, allocations: 11.98 kB / 0.5637 GB, free: 13.41 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.0003986/0.5166, allocations: 402.8 kB / 0.5641 GB, free: 13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5167, allocations: 13.48 kB / 0.5641 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.5167, allocations: 11.34 kB / 0.5641 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.517, allocations: 214.5 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.517, allocations: 0 / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.517, allocations: 1.641 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.5172, allocations: 61.33 kB / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5172, allocations: 0 / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5172, allocations: 1.375 kB / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5172, allocations: 0 / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.5173, allocations: 21.2 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.5176, allocations: 298.1 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5177, allocations: 56.45 kB / 0.5648 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.5178, allocations: 20.3 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5178, allocations: 0 / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.5179, allocations: 74.69 kB / 0.5649 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5179, allocations: 4 kB / 0.5649 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.5184, allocations: 156.1 kB / 0.565 GB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5184, allocations: 51.41 kB / 0.5651 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.5186, allocations: 186.8 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.5186, allocations: 25.7 kB / 0.5653 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.5186, allocations: 108.2 kB / 0.5654 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.5187, allocations: 27.02 kB / 0.5654 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5187, allocations: 4 kB / 0.5654 GB, free: 11.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.5187, allocations: 325.4 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.5188, allocations: 18.69 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.5188, allocations: 38.61 kB / 0.5658 GB, free: 11.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.5189, allocations: 22.55 kB / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5189, allocations: 0 / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000123/0.519, allocations: 99.08 kB / 0.5659 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.519, allocations: 9.125 kB / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.519, allocations: 0 / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.519, allocations: 4 kB / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.5191, allocations: 15.94 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5192, allocations: 3.953 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.5192, allocations: 7.984 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5192, allocations: 3.188 kB / 0.5659 GB, free: 11.23 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 4.972e-05/0.5193, allocations: 109.6 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.5193, allocations: 15.81 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.5195, allocations: 122.8 kB / 0.5662 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5195, allocations: 0 / 0.5662 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5195, allocations: 1.312 kB / 0.5662 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5195, allocations: 3.953 kB / 0.5662 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.5199, allocations: 409.1 kB / 0.5666 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5199, allocations: 0 / 0.5666 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.5199, allocations: 11.98 kB / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5199, allocations: 4.031 kB / 0.5666 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5199, allocations: 6.562 kB / 0.5666 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5199, allocations: 7.891 kB / 0.5666 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5199, allocations: 0 / 0.5666 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.5201, allocations: 220 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.5202, allocations: 96.94 kB / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.5202, allocations: 11.89 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.5203, allocations: 7.984 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.5203, allocations: 7.984 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.5203, allocations: 0 / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.5204, allocations: 155.8 kB / 0.5671 GB, free: 10.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5204, allocations: 0 / 0.5671 GB, free: 10.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.5207, allocations: 30.94 kB / 0.5671 GB, free: 10.04 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.000873/0.5215, allocations: 433.3 kB / 0.5675 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5217, allocations: 53.94 kB / 0.5676 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5217, allocations: 0 / 0.5676 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.5217, allocations: 30.62 kB / 0.5676 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.522, allocations: 30.84 kB / 0.5676 GB, free: 9.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.5223, allocations: 163.9 kB / 0.5678 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.5225, allocations: 0.7158 MB / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.741e-05/0.5225, allocations: 16.86 kB / 0.5685 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.5226, allocations: 23.42 kB / 0.5685 GB, free: 8.672 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5226, allocations: 0 / 0.5685 GB, free: 8.672 MB / 394.7 MB Notification: Performance of Templates: time 0.003589/0.5262, allocations: 1.71 MB / 0.5702 GB, free: 6.98 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches