Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009945/0.0009939, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008205, allocations: 87.55 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1772/0.1772, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.116e-05, allocations: 4 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4654, allocations: 88.27 MB / 0.5879 GB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4657, allocations: 75.95 kB / 0.588 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.4763, allocations: 4.3 MB / 0.5922 GB, free: 12.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4763, allocations: 0 / 0.5922 GB, free: 12.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4763, allocations: 4 kB / 0.5922 GB, free: 12.65 MB / 410.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.0004898/0.4768, allocations: 362.4 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4769, allocations: 8.031 kB / 0.5925 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.4769, allocations: 7.906 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.4772, allocations: 186.9 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4772, allocations: 0 / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4773, allocations: 8 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4774, allocations: 59.36 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4775, allocations: 4 kB / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4775, allocations: 0 / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4775, allocations: 0 / 0.5928 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.19e-05/0.4776, allocations: 19.94 kB / 0.5928 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.478, allocations: 292.8 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.4782, allocations: 38.58 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.4782, allocations: 16.92 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4783, allocations: 7.938 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4783, allocations: 30.56 kB / 0.5932 GB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4783, allocations: 0 / 0.5932 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004073/0.4787, allocations: 113.4 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4788, allocations: 81.05 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4789, allocations: 122.4 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4789, allocations: 29.7 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.479, allocations: 88.14 kB / 0.5936 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.479, allocations: 19.73 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.479, allocations: 0 / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4792, allocations: 318.8 kB / 0.5939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.4792, allocations: 12 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.4792, allocations: 29.7 kB / 0.5939 GB, free: 10.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.4793, allocations: 15.95 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4793, allocations: 0 / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.4794, allocations: 65.59 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4794, allocations: 8 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4794, allocations: 7.922 kB / 0.594 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4795, allocations: 0 / 0.594 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.4795, allocations: 16.03 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4796, allocations: 0 / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4796, allocations: 7.984 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4796, allocations: 4 kB / 0.5941 GB, free: 10.48 MB / 410.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 7.246e-05/0.4797, allocations: 108.9 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.4797, allocations: 7.906 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.4799, allocations: 81.7 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4799, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4799, allocations: 3.938 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4799, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.4803, allocations: 338.8 kB / 0.5946 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4803, allocations: 64 / 0.5946 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.4803, allocations: 16 kB / 0.5946 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4804, allocations: 3.938 kB / 0.5946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4804, allocations: 7.984 kB / 0.5946 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4804, allocations: 4 kB / 0.5946 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4804, allocations: 0 / 0.5946 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.4805, allocations: 167.3 kB / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.4806, allocations: 85.02 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.4806, allocations: 3.984 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.4807, allocations: 8 kB / 0.5949 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.4807, allocations: 11.98 kB / 0.5949 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4808, allocations: 0 / 0.5949 GB, free: 9.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.4808, allocations: 102.4 kB / 0.595 GB, free: 9.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4808, allocations: 0 / 0.595 GB, free: 9.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.4811, allocations: 39.97 kB / 0.595 GB, free: 9.406 MB / 410.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.0009357/0.482, allocations: 405.8 kB / 0.5954 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.4822, allocations: 28 kB / 0.5954 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4822, allocations: 0 / 0.5954 GB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.4822, allocations: 23.98 kB / 0.5955 GB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.4824, allocations: 15.89 kB / 0.5955 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.4827, allocations: 101.7 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.483, allocations: 0.7082 MB / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.483, allocations: 20.16 kB / 0.5963 GB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.4831, allocations: 11.44 kB / 0.5963 GB, free: 8.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4831, allocations: 0 / 0.5963 GB, free: 8.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00359/0.4867, allocations: 1.293 MB / 0.5975 GB, free: 6.871 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches