Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009189/0.0009192, 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.235/1.235, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008669/0.0008671, allocations: 97.95 kB / 287 MB, free: 272 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.1705/0.1705, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.284e-05, allocations: 224 / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4729, allocations: 88.33 MB / 0.588 GB, free: 1.055 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4731, allocations: 75.95 kB / 0.588 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.4846, allocations: 4.601 MB / 0.5925 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4846, allocations: 0 / 0.5925 GB, free: 12.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4846, allocations: 0 / 0.5925 GB, free: 12.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003668/0.485, allocations: 378.2 kB / 0.5929 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4851, allocations: 12.03 kB / 0.5929 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.4851, allocations: 7.938 kB / 0.5929 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4853, allocations: 190.9 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4854, allocations: 0 / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.4854, allocations: 8 kB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.4855, allocations: 75.23 kB / 0.5932 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4856, allocations: 0 / 0.5932 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4856, allocations: 8 kB / 0.5932 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4856, allocations: 4 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.4857, allocations: 23.98 kB / 0.5932 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.4861, allocations: 312.7 kB / 0.5935 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.4862, allocations: 46.56 kB / 0.5935 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.4862, allocations: 16.98 kB / 0.5936 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.4863, allocations: 4 kB / 0.5936 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4863, allocations: 30.56 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4863, allocations: 0 / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004456/0.4867, allocations: 161.3 kB / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.4868, allocations: 77.11 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4869, allocations: 130.1 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.487, allocations: 29.7 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.487, allocations: 92.05 kB / 0.5941 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.487, allocations: 31.62 kB / 0.5941 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.487, allocations: 4 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.4872, allocations: 314.8 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.4872, allocations: 27.92 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.4872, allocations: 33.72 kB / 0.5945 GB, free: 10.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.4873, allocations: 23.98 kB / 0.5945 GB, free: 10.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4873, allocations: 4.031 kB / 0.5945 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.4874, allocations: 85.58 kB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4875, allocations: 5.406 kB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4875, allocations: 0 / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4875, allocations: 4 kB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4876, allocations: 19.98 kB / 0.5946 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4876, allocations: 11.88 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.4877, allocations: 4 kB / 0.5946 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4877, allocations: 8 kB / 0.5946 GB, free: 10.02 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 (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 6.676e-05/0.4878, allocations: 108.9 kB / 0.5947 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4878, allocations: 7.906 kB / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.488, allocations: 110.6 kB / 0.5948 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.488, allocations: 0 / 0.5948 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.488, allocations: 3.984 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.488, allocations: 0 / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.4884, allocations: 386.4 kB / 0.5952 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4884, allocations: 3.984 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.4885, allocations: 19.94 kB / 0.5952 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4885, allocations: 0 / 0.5952 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.4885, allocations: 4 kB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4885, allocations: 3.984 kB / 0.5952 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4885, allocations: 0 / 0.5952 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.4887, allocations: 196.4 kB / 0.5954 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.4888, allocations: 85.09 kB / 0.5955 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.4888, allocations: 3.984 kB / 0.5955 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.4889, allocations: 15.98 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4889, allocations: 0 / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4889, allocations: 4 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.489, allocations: 110.3 kB / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.489, allocations: 0 / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.4892, allocations: 43.89 kB / 0.5957 GB, free: 8.844 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 (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.0008895/0.4901, allocations: 423 kB / 0.5961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4903, allocations: 44 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4903, allocations: 0 / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.4903, allocations: 39.92 kB / 0.5962 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.4906, allocations: 15.98 kB / 0.5962 GB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.4909, allocations: 125.7 kB / 0.5963 GB, free: 8.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4911, allocations: 0.6965 MB / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.4912, allocations: 28.94 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4913, allocations: 19.38 kB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4913, allocations: 0 / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of Templates: time 0.003547/0.4948, allocations: 1.39 MB / 0.5984 GB, free: 6.133 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches