Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001579/0.001579, allocations: 82.7 kB / 267.5 MB, free: 14.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2692/0.2692, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.192e-05, allocations: 0 / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5787, allocations: 86.26 MB / 0.557 GB, free: 1.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5791, allocations: 74.58 kB / 0.5571 GB, free: 1.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02034/0.5994, allocations: 3.515 MB / 0.5605 GB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5995, allocations: 0 / 0.5605 GB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5995, allocations: 4 kB / 0.5605 GB, free: 14.33 MB / 378.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.0005933/0.6001, allocations: 361.6 kB / 0.5609 GB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.6002, allocations: 12.02 kB / 0.5609 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.6003, allocations: 15.22 kB / 0.5609 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.6007, allocations: 189.6 kB / 0.5611 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6007, allocations: 4 kB / 0.5611 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.6007, allocations: 0 / 0.5611 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.6009, allocations: 43.38 kB / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.601, allocations: 0 / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.601, allocations: 3.25 kB / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.601, allocations: 4 kB / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.6011, allocations: 18.8 kB / 0.5612 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.6017, allocations: 272.3 kB / 0.5614 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.602, allocations: 38.19 kB / 0.5615 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.507e-05/0.6021, allocations: 12.8 kB / 0.5615 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.6021, allocations: 0 / 0.5615 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.6022, allocations: 38.5 kB / 0.5615 GB, free: 13.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.6022, allocations: 4 kB / 0.5615 GB, free: 13.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006679/0.6029, allocations: 92.95 kB / 0.5616 GB, free: 13.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.603, allocations: 71.22 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.6032, allocations: 127.2 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.6033, allocations: 29.52 kB / 0.5618 GB, free: 12.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6034, allocations: 158.1 kB / 0.562 GB, free: 12.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.6035, allocations: 19.66 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.6035, allocations: 4 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6037, allocations: 314.8 kB / 0.5623 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.6038, allocations: 11.94 kB / 0.5623 GB, free: 12.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.862e-05/0.6038, allocations: 7.812 kB / 0.5623 GB, free: 12.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.6039, allocations: 11.81 kB / 0.5623 GB, free: 12.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6039, allocations: 0 / 0.5623 GB, free: 12.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002131/0.6041, allocations: 53.44 kB / 0.5624 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6042, allocations: 8 kB / 0.5624 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6042, allocations: 0 / 0.5624 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6042, allocations: 0 / 0.5624 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.6044, allocations: 23.88 kB / 0.5624 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6045, allocations: 3.984 kB / 0.5624 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6046, allocations: 7.953 kB / 0.5624 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6046, allocations: 0 / 0.5624 GB, free: 12.3 MB / 378.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 0.0001088/0.6048, allocations: 108.6 kB / 0.5625 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.6049, allocations: 8.156 kB / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.6052, allocations: 77.33 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6052, allocations: 0 / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6052, allocations: 0 / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6052, allocations: 0 / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.6059, allocations: 332.9 kB / 0.5629 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6059, allocations: 0 / 0.5629 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.6061, allocations: 12 kB / 0.5629 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6061, allocations: 0 / 0.5629 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6062, allocations: 0 / 0.5629 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.6062, allocations: 7.984 kB / 0.5629 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.6062, allocations: 3.953 kB / 0.5629 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.6065, allocations: 162.8 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.6067, allocations: 89 kB / 0.5632 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.6067, allocations: 0 / 0.5632 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.6069, allocations: 7.984 kB / 0.5632 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.607, allocations: 7.953 kB / 0.5632 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.607, allocations: 7.938 kB / 0.5632 GB, free: 11.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.6072, allocations: 106.9 kB / 0.5633 GB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6072, allocations: 3.938 kB / 0.5633 GB, free: 11.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005902/0.6078, allocations: 23.56 kB / 0.5633 GB, free: 11.32 MB / 378.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.001514/0.6094, allocations: 363.8 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.6096, allocations: 31.56 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6096, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.6097, allocations: 19.88 kB / 0.5637 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.6101, allocations: 21.88 kB / 0.5637 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.6107, allocations: 130.3 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.6111, allocations: 0.6991 MB / 0.5645 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.6112, allocations: 15.38 kB / 0.5646 GB, free: 10.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.6112, allocations: 0 / 0.5646 GB, free: 10.09 MB / 378.7 MB Notification: Performance of Templates: time 0.00579/0.617, allocations: 1.381 MB / 0.5659 GB, free: 8.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches