Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, 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.467/1.467, 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.000766/0.000766, allocations: 89.84 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.3209/0.3209, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.223e-05, allocations: 7.984 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4617, allocations: 86.6 MB / 0.5574 GB, free: 17.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.462, allocations: 75.06 kB / 0.5574 GB, free: 17.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009832/0.4718, allocations: 4.387 MB / 0.5617 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4719, allocations: 4 kB / 0.5617 GB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4719, allocations: 4 kB / 0.5617 GB, free: 14.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003684/0.4723, allocations: 373 kB / 0.5621 GB, free: 14.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4723, allocations: 8.031 kB / 0.5621 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.4724, allocations: 11.91 kB / 0.5621 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4726, allocations: 196 kB / 0.5623 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.4726, allocations: 9.75 kB / 0.5623 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.4726, allocations: 7.75 kB / 0.5623 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4727, allocations: 71.5 kB / 0.5624 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.4728, allocations: 0 / 0.5624 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4728, allocations: 0.5 kB / 0.5624 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4728, allocations: 1.375 kB / 0.5624 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.4728, allocations: 26.8 kB / 0.5624 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.4731, allocations: 292.5 kB / 0.5627 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.4732, allocations: 59.59 kB / 0.5627 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.4732, allocations: 12.86 kB / 0.5628 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4733, allocations: 5.391 kB / 0.5628 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.4733, allocations: 30.56 kB / 0.5628 GB, free: 13.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4733, allocations: 0 / 0.5628 GB, free: 13.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.4737, allocations: 145 kB / 0.5629 GB, free: 13.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.4737, allocations: 77.11 kB / 0.563 GB, free: 13.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.4738, allocations: 134.6 kB / 0.5631 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4738, allocations: 27.11 kB / 0.5632 GB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.4739, allocations: 92.28 kB / 0.5632 GB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4739, allocations: 29.14 kB / 0.5633 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.4739, allocations: 3.812 kB / 0.5633 GB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.474, allocations: 314.2 kB / 0.5636 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.474, allocations: 17.94 kB / 0.5636 GB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.4741, allocations: 35.97 kB / 0.5636 GB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.4741, allocations: 16.09 kB / 0.5636 GB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4741, allocations: 6.281 kB / 0.5636 GB, free: 12.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001015/0.4742, allocations: 77.5 kB / 0.5637 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.4742, allocations: 4 kB / 0.5637 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4742, allocations: 1.359 kB / 0.5637 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4743, allocations: 4 kB / 0.5637 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4744, allocations: 23.17 kB / 0.5638 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.4744, allocations: 3.953 kB / 0.5638 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.4744, allocations: 9.312 kB / 0.5638 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.4745, allocations: 5.594 kB / 0.5638 GB, free: 12.77 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 (8): * Single equations (assignments): 8 * 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.803e-05/0.4745, allocations: 109.6 kB / 0.5639 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4745, allocations: 4 kB / 0.5639 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.4747, allocations: 103.8 kB / 0.564 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4747, allocations: 8 kB / 0.564 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4747, allocations: 0 / 0.564 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4747, allocations: 4.891 kB / 0.564 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.475, allocations: 364 kB / 0.5643 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4751, allocations: 0 / 0.5643 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.4751, allocations: 21.97 kB / 0.5644 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4751, allocations: 0 / 0.5644 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4752, allocations: 5.031 kB / 0.5644 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4752, allocations: 4 kB / 0.5644 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4752, allocations: 0 / 0.5644 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.4753, allocations: 179 kB / 0.5645 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.4753, allocations: 87.59 kB / 0.5646 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4753, allocations: 4 kB / 0.5646 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.4754, allocations: 10.81 kB / 0.5646 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4755, allocations: 11.22 kB / 0.5646 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4755, allocations: 4.688 kB / 0.5647 GB, free: 11.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.4755, allocations: 109.5 kB / 0.5648 GB, free: 11.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4755, allocations: 0 / 0.5648 GB, free: 11.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000229/0.4758, allocations: 29.33 kB / 0.5648 GB, free: 11.79 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 (8): * Single equations (assignments): 8 * 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.0007485/0.4765, allocations: 409.4 kB / 0.5652 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.4766, allocations: 50.36 kB / 0.5652 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4766, allocations: 0 / 0.5652 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.4767, allocations: 28.39 kB / 0.5652 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.4769, allocations: 10.03 kB / 0.5653 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.4771, allocations: 130 kB / 0.5654 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.4773, allocations: 0.695 MB / 0.5661 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.4773, allocations: 15.34 kB / 0.5661 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.4774, allocations: 18.11 kB / 0.5661 GB, free: 10.54 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4774, allocations: 0 / 0.5661 GB, free: 10.54 MB / 394.7 MB Notification: Performance of Templates: time 0.003127/0.4805, allocations: 1.378 MB / 0.5674 GB, free: 9.719 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches