Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008195/0.0008196, allocations: 178.5 kB / 18.09 MB, free: 3.746 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.146/1.146, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008293, allocations: 97.22 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.261/0.261, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2413, allocations: 61.88 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09093/0.3322, allocations: 88.06 MB / 0.5967 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3325, allocations: 83.94 kB / 0.5968 GB, free: 6.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009572/0.3421, allocations: 4.19 MB / 0.6009 GB, free: 2.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3421, allocations: 0 / 0.6009 GB, free: 2.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3421, allocations: 4 kB / 0.6009 GB, free: 2.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003278/0.3424, allocations: 406.9 kB / 0.6013 GB, free: 2.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3425, allocations: 12.03 kB / 0.6013 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3425, allocations: 8.844 kB / 0.6013 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3427, allocations: 208 kB / 0.6015 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3427, allocations: 4.375 kB / 0.6015 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3427, allocations: 4.375 kB / 0.6015 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3429, allocations: 54.23 kB / 0.6016 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3429, allocations: 192 / 0.6016 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3429, allocations: 7.875 kB / 0.6016 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3429, allocations: 7.984 kB / 0.6016 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.343, allocations: 23.98 kB / 0.6016 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.3433, allocations: 300.7 kB / 0.6019 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.675e-05/0.3434, allocations: 50.44 kB / 0.6019 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.3435, allocations: 20.94 kB / 0.602 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3435, allocations: 0 / 0.602 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3435, allocations: 34.56 kB / 0.602 GB, free: 1.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3435, allocations: 4 kB / 0.602 GB, free: 1.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007465/0.3443, allocations: 249.1 kB / 0.6022 GB, free: 1.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3443, allocations: 51.41 kB / 0.6023 GB, free: 1.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3445, allocations: 190.5 kB / 0.6025 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3445, allocations: 29.7 kB / 0.6025 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.3446, allocations: 100.1 kB / 0.6026 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3446, allocations: 23.66 kB / 0.6026 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3446, allocations: 0 / 0.6026 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.3447, allocations: 326.8 kB / 0.6029 GB, free: 472 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.3448, allocations: 31.98 kB / 0.603 GB, free: 440 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.3448, allocations: 27.97 kB / 0.603 GB, free: 412 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.345, allocations: 68.78 kB / 0.603 GB, free: 340 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.345, allocations: 0 / 0.603 GB, free: 340 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001851/0.3452, allocations: 117.7 kB / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3452, allocations: 4 kB / 0.6032 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3452, allocations: 80 / 0.6032 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3452, allocations: 4 kB / 0.6032 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.3453, allocations: 15.98 kB / 0.6032 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3453, allocations: 7.984 kB / 0.6032 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3454, allocations: 15.94 kB / 0.6032 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3454, allocations: 4 kB / 0.6032 GB, free: 164 kB / 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 () * Number of clocked 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.463e-05/0.3455, allocations: 134.2 kB / 0.6033 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3455, allocations: 7.906 kB / 0.6033 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.3457, allocations: 122.4 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3457, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3458, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3458, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3462, allocations: 427.2 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3462, allocations: 0 / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.3463, allocations: 23.92 kB / 0.6039 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3463, allocations: 0 / 0.6039 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3463, allocations: 7.938 kB / 0.6039 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3463, allocations: 0 / 0.6039 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3463, allocations: 3.984 kB / 0.6039 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3465, allocations: 208.3 kB / 0.6041 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3466, allocations: 89 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3466, allocations: 7.938 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.3467, allocations: 8 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3467, allocations: 16.34 kB / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.3467, allocations: 4 kB / 0.6042 GB, free: 15.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3469, allocations: 151 kB / 0.6044 GB, free: 14.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3469, allocations: 0 / 0.6044 GB, free: 14.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.3471, allocations: 23.94 kB / 0.6044 GB, free: 14.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0008291/0.3479, allocations: 465 kB / 0.6048 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3481, allocations: 71.94 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3481, allocations: 4 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.3482, allocations: 39.92 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3485, allocations: 23.97 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.3489, allocations: 262 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3491, allocations: 0.7004 MB / 0.6059 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.3492, allocations: 12.61 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3492, allocations: 19.38 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3492, allocations: 8 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003276/0.3525, allocations: 1.324 MB / 0.6072 GB, free: 12.05 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches