Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, 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.458/1.458, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0008722/0.0008722, allocations: 86.59 kB / 267.1 MB, free: 9.27 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.3435/0.3435, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.796e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 58.84 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.4329, allocations: 86.4 MB / 0.5572 GB, free: 2.602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.4331, allocations: 74.22 kB / 0.5573 GB, free: 2.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008518/0.4416, allocations: 3.847 MB / 0.561 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4416, allocations: 0 / 0.561 GB, free: 14.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4417, allocations: 0 / 0.561 GB, free: 14.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003669/0.442, allocations: 393.2 kB / 0.5614 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4421, allocations: 8.031 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.4421, allocations: 15.33 kB / 0.5614 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.4424, allocations: 199.9 kB / 0.5616 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4424, allocations: 0 / 0.5616 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.4424, allocations: 4 kB / 0.5616 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.4425, allocations: 41.97 kB / 0.5616 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4426, allocations: 0 / 0.5616 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4426, allocations: 4 kB / 0.5616 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4426, allocations: 5.375 kB / 0.5616 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.4426, allocations: 19.92 kB / 0.5617 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.443, allocations: 284.9 kB / 0.5619 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4432, allocations: 38.56 kB / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.4433, allocations: 16.86 kB / 0.562 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.4433, allocations: 4 kB / 0.562 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4433, allocations: 38.5 kB / 0.562 GB, free: 13.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4433, allocations: 1.406 kB / 0.562 GB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004044/0.4437, allocations: 121.3 kB / 0.5621 GB, free: 13.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.4438, allocations: 59.3 kB / 0.5622 GB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.444, allocations: 178.6 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.444, allocations: 29.7 kB / 0.5624 GB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.444, allocations: 100.1 kB / 0.5625 GB, free: 13.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.4441, allocations: 19.8 kB / 0.5625 GB, free: 12.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.4441, allocations: 0 / 0.5625 GB, free: 12.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4442, allocations: 322.8 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.4442, allocations: 8 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.4443, allocations: 12 kB / 0.5628 GB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.4443, allocations: 15.98 kB / 0.5629 GB, free: 12.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4443, allocations: 0 / 0.5629 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.4444, allocations: 77.5 kB / 0.5629 GB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4444, allocations: 8 kB / 0.5629 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4444, allocations: 0.6562 kB / 0.5629 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4445, allocations: 0 / 0.5629 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.4445, allocations: 19.92 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4446, allocations: 0.5625 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.4446, allocations: 7.953 kB / 0.563 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4446, allocations: 4 kB / 0.563 GB, free: 12.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.076e-05/0.4447, allocations: 107.4 kB / 0.5631 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4447, allocations: 11.84 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.4449, allocations: 85.7 kB / 0.5632 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4449, allocations: 0 / 0.5632 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4449, allocations: 0 / 0.5632 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4449, allocations: 3.984 kB / 0.5632 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.4452, allocations: 358.4 kB / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4453, allocations: 0 / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.4453, allocations: 19.98 kB / 0.5635 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4453, allocations: 0 / 0.5635 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4453, allocations: 0 / 0.5635 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4454, allocations: 4 kB / 0.5635 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4454, allocations: 3.953 kB / 0.5635 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.4455, allocations: 163.4 kB / 0.5637 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.4456, allocations: 97 kB / 0.5638 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.4456, allocations: 4 kB / 0.5638 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.4457, allocations: 8.078 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.4457, allocations: 11.97 kB / 0.5638 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4457, allocations: 3.953 kB / 0.5638 GB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.4459, allocations: 143.2 kB / 0.564 GB, free: 11.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4459, allocations: 0 / 0.564 GB, free: 11.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.4461, allocations: 23.94 kB / 0.564 GB, free: 11.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007541/0.4468, allocations: 367 kB / 0.5643 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.4469, allocations: 35.94 kB / 0.5644 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.447, allocations: 0 / 0.5644 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.447, allocations: 16 kB / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.4472, allocations: 15.89 kB / 0.5644 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.4475, allocations: 162.9 kB / 0.5645 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4477, allocations: 0.7082 MB / 0.5652 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.4478, allocations: 16.17 kB / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.4478, allocations: 15.42 kB / 0.5653 GB, free: 10.09 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4478, allocations: 0 / 0.5653 GB, free: 10.09 MB / 394.7 MB Notification: Performance of Templates: time 0.002889/0.4507, allocations: 1.138 MB / 0.5664 GB, free: 8.961 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches