Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002161/0.002161, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001092, allocations: 91.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.972e-05, allocations: 8 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5846, allocations: 86.92 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.585, allocations: 67.97 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0345/0.6195, allocations: 5.194 MB / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6196, allocations: 0 / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.6196, allocations: 4 kB / 0.5559 GB, free: 7.117 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008032/0.6205, allocations: 386.2 kB / 0.5563 GB, free: 6.695 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6205, allocations: 12.03 kB / 0.5563 GB, free: 6.684 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.6206, allocations: 11.91 kB / 0.5563 GB, free: 6.672 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.6212, allocations: 214.7 kB / 0.5565 GB, free: 6.422 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.6212, allocations: 4 kB / 0.5565 GB, free: 6.418 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.6213, allocations: 3.906 kB / 0.5565 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.6214, allocations: 20 kB / 0.5566 GB, free: 6.395 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.6216, allocations: 49.67 kB / 0.5566 GB, free: 6.34 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6217, allocations: 0 / 0.5566 GB, free: 6.34 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6217, allocations: 0 / 0.5566 GB, free: 6.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6217, allocations: 3.938 kB / 0.5566 GB, free: 6.336 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.6224, allocations: 277.3 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.6226, allocations: 46.69 kB / 0.5569 GB, free: 5.973 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.6227, allocations: 16.98 kB / 0.5569 GB, free: 5.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6228, allocations: 4 kB / 0.5569 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.623, allocations: 63.39 kB / 0.557 GB, free: 5.875 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/0.623, allocations: 3.938 kB / 0.557 GB, free: 5.871 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008294/0.6239, allocations: 149.2 kB / 0.5571 GB, free: 5.719 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.624, allocations: 55.39 kB / 0.5572 GB, free: 5.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.6243, allocations: 157.4 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6244, allocations: 25.7 kB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6245, allocations: 162.6 kB / 0.5575 GB, free: 5.301 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.6246, allocations: 23.66 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.6246, allocations: 4 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6248, allocations: 318.8 kB / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.6249, allocations: 12 kB / 0.5579 GB, free: 4.941 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.625, allocations: 41.66 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.6251, allocations: 15.98 kB / 0.5579 GB, free: 4.879 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6251, allocations: 0 / 0.5579 GB, free: 4.879 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003148/0.6255, allocations: 85.67 kB / 0.558 GB, free: 4.789 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6255, allocations: 8.031 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6255, allocations: 4 kB / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6256, allocations: 0 / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.6258, allocations: 19.92 kB / 0.558 GB, free: 4.758 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6258, allocations: 0 / 0.558 GB, free: 4.758 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.626, allocations: 4.188 kB / 0.558 GB, free: 4.754 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.626, allocations: 11.95 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0003189/0.6263, allocations: 101 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.6264, allocations: 19.8 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.6269, allocations: 106.2 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.6269, allocations: 4 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6269, allocations: 288 / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.627, allocations: 3.984 kB / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.6278, allocations: 371.8 kB / 0.5586 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6278, allocations: 3.938 kB / 0.5586 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.628, allocations: 8 kB / 0.5586 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.628, allocations: 8.031 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.628, allocations: 0 / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6281, allocations: 3.984 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6281, allocations: 0 / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.6285, allocations: 213.9 kB / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.6287, allocations: 92.92 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.6287, allocations: 3.938 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.629, allocations: 11.98 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.629, allocations: 7.953 kB / 0.559 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.6291, allocations: 4 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.6293, allocations: 132.1 kB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6293, allocations: 0 / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006308/0.63, allocations: 23.94 kB / 0.5591 GB, free: 3.539 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001782/0.6318, allocations: 401.8 kB / 0.5595 GB, free: 3.195 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.6321, allocations: 55.92 kB / 0.5596 GB, free: 3.141 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6322, allocations: 4.062 kB / 0.5596 GB, free: 3.137 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.6323, allocations: 24 kB / 0.5596 GB, free: 3.113 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.6329, allocations: 28.52 kB / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.6337, allocations: 179.9 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.6341, allocations: 0.7002 MB / 0.5605 GB, free: 2.145 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.6343, allocations: 23.42 kB / 0.5605 GB, free: 2.121 MB / 395.1 MB Notification: Performance of SimCode: time 1.103e-06/0.6343, allocations: 0 / 0.5605 GB, free: 2.121 MB / 395.1 MB Notification: Performance of Templates: time 0.008126/0.6424, allocations: 1.893 MB / 0.5623 GB, free: 240 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches