Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009303/0.0009304, allocations: 180 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.271/1.271, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008597/0.00086, allocations: 91.53 kB / 287 MB, free: 248 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.1793/0.1793, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.731e-05, allocations: 4 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.5239, allocations: 88.22 MB / 0.5879 GB, free: 1.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5242, allocations: 71.95 kB / 0.5879 GB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.5356, allocations: 4.559 MB / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5356, allocations: 0 / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.5356, allocations: 4 kB / 0.5924 GB, free: 12.46 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000355/0.536, allocations: 358.4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5361, allocations: 12.02 kB / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.5361, allocations: 11.91 kB / 0.5927 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5363, allocations: 202.8 kB / 0.5929 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5364, allocations: 0 / 0.5929 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.5364, allocations: 4 kB / 0.5929 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5365, allocations: 67.36 kB / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5365, allocations: 0 / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5366, allocations: 4 kB / 0.593 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5366, allocations: 0 / 0.593 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.5367, allocations: 27.98 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.537, allocations: 292.7 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.5371, allocations: 42.58 kB / 0.5934 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.5372, allocations: 12.98 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5372, allocations: 4 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.5372, allocations: 42.55 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.5372, allocations: 0 / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.5378, allocations: 145.4 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5378, allocations: 77.11 kB / 0.5936 GB, free: 11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.538, allocations: 130.5 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.538, allocations: 25.7 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.538, allocations: 96.08 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.5381, allocations: 35.55 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5381, allocations: 0 / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5382, allocations: 322.8 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.5382, allocations: 16 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.5383, allocations: 29.72 kB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.5383, allocations: 15.98 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5383, allocations: 0 / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001164/0.5385, allocations: 81.58 kB / 0.5943 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5385, allocations: 9.281 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5385, allocations: 0 / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5385, allocations: 3.938 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5386, allocations: 23.92 kB / 0.5944 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.5386, allocations: 4 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5387, allocations: 8 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5387, allocations: 0 / 0.5944 GB, free: 10.18 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 7.245e-05/0.5388, allocations: 112.9 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.5388, allocations: 7.906 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.539, allocations: 98.53 kB / 0.5946 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.539, allocations: 4 kB / 0.5946 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5391, allocations: 0 / 0.5946 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5391, allocations: 3.938 kB / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.5394, allocations: 370.6 kB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.5394, allocations: 0 / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.5395, allocations: 19.98 kB / 0.595 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5395, allocations: 7.984 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.5395, allocations: 3.938 kB / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.5395, allocations: 0 / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5395, allocations: 0 / 0.595 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.5397, allocations: 175.4 kB / 0.5952 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.5398, allocations: 93 kB / 0.5952 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.5398, allocations: 4 kB / 0.5952 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.5399, allocations: 8 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.5399, allocations: 7.984 kB / 0.5953 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.5399, allocations: 4 kB / 0.5953 GB, free: 9.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.54, allocations: 111.7 kB / 0.5954 GB, free: 9.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.54, allocations: 0 / 0.5954 GB, free: 9.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.5403, allocations: 31.94 kB / 0.5954 GB, free: 9.039 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.0008769/0.5411, allocations: 410.6 kB / 0.5958 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.5413, allocations: 43.98 kB / 0.5958 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5413, allocations: 0 / 0.5958 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.5413, allocations: 31.92 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.5416, allocations: 19.89 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.5419, allocations: 129.6 kB / 0.596 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5421, allocations: 0.6965 MB / 0.5967 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.5422, allocations: 20.94 kB / 0.5967 GB, free: 7.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.5422, allocations: 15.42 kB / 0.5967 GB, free: 7.738 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5423, allocations: 0 / 0.5967 GB, free: 7.738 MB / 410.7 MB Notification: Performance of Templates: time 0.003568/0.5458, allocations: 1.36 MB / 0.5981 GB, free: 6.379 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches