Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002223/0.002222, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001112/0.001112, allocations: 85.33 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5097/0.5097, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.86 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5813, allocations: 87.81 MB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5816, allocations: 75.97 kB / 0.5646 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0343/0.616, allocations: 7.691 MB / 0.5721 GB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.616, allocations: 4 kB / 0.5721 GB, free: 7.023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.6161, allocations: 4 kB / 0.5721 GB, free: 7.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009572/0.617, allocations: 0.5307 MB / 0.5726 GB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6171, allocations: 11.47 kB / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/0.6172, allocations: 27.62 kB / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.6178, allocations: 302.9 kB / 0.5729 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.6179, allocations: 8 kB / 0.5729 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.6179, allocations: 4 kB / 0.5729 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.6182, allocations: 108 kB / 0.573 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6183, allocations: 1.031 kB / 0.573 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.6183, allocations: 4 kB / 0.5731 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.6183, allocations: 8 kB / 0.5731 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.6185, allocations: 43.86 kB / 0.5731 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.6193, allocations: 461 kB / 0.5735 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.6198, allocations: 125.4 kB / 0.5737 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.6198, allocations: 0 / 0.5737 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.6202, allocations: 121.8 kB / 0.5738 GB, free: 5.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.6202, allocations: 0 / 0.5738 GB, free: 5.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001404/0.6216, allocations: 379.8 kB / 0.5741 GB, free: 4.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.6217, allocations: 77.11 kB / 0.5742 GB, free: 4.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.6224, allocations: 387.7 kB / 0.5746 GB, free: 4.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.6225, allocations: 33.7 kB / 0.5746 GB, free: 4.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.6226, allocations: 198.8 kB / 0.5748 GB, free: 4.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.6227, allocations: 59.27 kB / 0.5749 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.6227, allocations: 4 kB / 0.5749 GB, free: 3.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6229, allocations: 314.8 kB / 0.5752 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.6231, allocations: 43.97 kB / 0.5752 GB, free: 3.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.6233, allocations: 72.78 kB / 0.5753 GB, free: 3.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.6235, allocations: 51.94 kB / 0.5753 GB, free: 3.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.6235, allocations: 3.953 kB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005041/0.624, allocations: 165.5 kB / 0.5755 GB, free: 3.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.624, allocations: 4 kB / 0.5755 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6241, allocations: 4 kB / 0.5755 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6241, allocations: 0 / 0.5755 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.6243, allocations: 36.95 kB / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6244, allocations: 4.062 kB / 0.5755 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.6245, allocations: 8 kB / 0.5755 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.6246, allocations: 8 kB / 0.5756 GB, free: 3.227 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002296/0.6248, allocations: 161.8 kB / 0.5757 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.6249, allocations: 39.56 kB / 0.5757 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.6256, allocations: 224.3 kB / 0.576 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6256, allocations: 8 kB / 0.576 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6256, allocations: 0 / 0.576 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.6256, allocations: 0 / 0.576 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6269, allocations: 0.6796 MB / 0.5766 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6269, allocations: 0 / 0.5766 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.6271, allocations: 31.92 kB / 0.5767 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.6271, allocations: 4.062 kB / 0.5767 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.6272, allocations: 4 kB / 0.5767 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6272, allocations: 4 kB / 0.5767 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6272, allocations: 4 kB / 0.5767 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.6279, allocations: 432.2 kB / 0.5771 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.6281, allocations: 120.7 kB / 0.5772 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.6281, allocations: 11.95 kB / 0.5772 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.6284, allocations: 11.98 kB / 0.5772 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.6284, allocations: 11.98 kB / 0.5772 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.6285, allocations: 4 kB / 0.5772 GB, free: 1.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005563/0.629, allocations: 327 kB / 0.5776 GB, free: 1.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6291, allocations: 0 / 0.5776 GB, free: 1.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000547/0.6296, allocations: 55.94 kB / 0.5776 GB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001388/0.631, allocations: 480.8 kB / 0.5781 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.6316, allocations: 119.9 kB / 0.5782 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6317, allocations: 0 / 0.5782 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.6319, allocations: 72.31 kB / 0.5782 GB, free: 436 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.6325, allocations: 53.75 kB / 0.5783 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6339, allocations: 0.5924 MB / 0.5789 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.6344, allocations: 0.7752 MB / 0.5796 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.6345, allocations: 27.42 kB / 0.5797 GB, free: 14.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6346, allocations: 0 / 0.5797 GB, free: 14.93 MB / 410.7 MB Notification: Performance of Templates: time 0.00934/0.6439, allocations: 3.429 MB / 0.583 GB, free: 11.51 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:der(d_t_new.u),d_t_new.u,d_t_new.y,der(d_t_new_2.u),d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time