Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003425/0.003425, 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.004/2.004, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001097/0.001097, allocations: 96.83 kB / 262.1 MB, free: 13.87 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.4438/0.4438, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.275e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4032, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5659, allocations: 87.18 MB / 0.551 GB, free: 12.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5662, allocations: 75.47 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02602/0.5923, allocations: 5.633 MB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.5923, allocations: 4 kB / 0.5566 GB, free: 6.422 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.5924, allocations: 3.938 kB / 0.5566 GB, free: 6.418 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.0006468/0.593, allocations: 382.3 kB / 0.557 GB, free: 6 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5931, allocations: 12.03 kB / 0.557 GB, free: 5.988 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.5932, allocations: 7.906 kB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.5936, allocations: 214.8 kB / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5936, allocations: 0 / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.5937, allocations: 4 kB / 0.5572 GB, free: 5.727 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.792e-05/0.5938, allocations: 19.98 kB / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.5939, allocations: 63.41 kB / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.594, allocations: 0 / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.594, allocations: 0 / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.594, allocations: 3.938 kB / 0.5573 GB, free: 5.629 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.5945, allocations: 269.4 kB / 0.5576 GB, free: 5.328 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.5947, allocations: 50.69 kB / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.5947, allocations: 20.97 kB / 0.5576 GB, free: 5.246 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5948, allocations: 0 / 0.5576 GB, free: 5.246 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.5949, allocations: 63.41 kB / 0.5577 GB, free: 5.172 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.595, allocations: 3.938 kB / 0.5577 GB, free: 5.168 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006659/0.5956, allocations: 153.2 kB / 0.5578 GB, free: 5.012 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.5957, allocations: 81.11 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.5959, allocations: 140.4 kB / 0.5581 GB, free: 4.773 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.596, allocations: 25.7 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.5961, allocations: 158.6 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.5961, allocations: 27.64 kB / 0.5583 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5961, allocations: 0 / 0.5583 GB, free: 4.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5963, allocations: 314.8 kB / 0.5586 GB, free: 4.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.5964, allocations: 16 kB / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.5965, allocations: 46.5 kB / 0.5586 GB, free: 4.172 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.5965, allocations: 27.97 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5966, allocations: 0 / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.5968, allocations: 77.69 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.5968, allocations: 4 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5968, allocations: 0 / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.5969, allocations: 7.953 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.597, allocations: 19.98 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.5971, allocations: 4 kB / 0.5587 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.142e-05/0.5972, allocations: 4 kB / 0.5588 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5972, allocations: 0 / 0.5588 GB, free: 4.023 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.0001053/0.5973, allocations: 109 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.5974, allocations: 7.906 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.5977, allocations: 110.1 kB / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5977, allocations: 0 / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5977, allocations: 4.234 kB / 0.559 GB, free: 3.785 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5977, allocations: 8 kB / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.5983, allocations: 367.9 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.5984, allocations: 3.938 kB / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.5985, allocations: 8 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.5985, allocations: 0 / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5985, allocations: 7.953 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5985, allocations: 0 / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5985, allocations: 0 / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.5988, allocations: 214 kB / 0.5596 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.5989, allocations: 89 kB / 0.5596 GB, free: 3.012 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.599, allocations: 11.89 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.5991, allocations: 4 kB / 0.5597 GB, free: 2.996 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5992, allocations: 7.984 kB / 0.5597 GB, free: 2.988 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5992, allocations: 8 kB / 0.5597 GB, free: 2.98 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.5994, allocations: 111.3 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5994, allocations: 3.938 kB / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.5998, allocations: 43.92 kB / 0.5598 GB, free: 2.824 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.001303/0.6011, allocations: 425.8 kB / 0.5602 GB, free: 2.453 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.6014, allocations: 63.92 kB / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6014, allocations: 0 / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.6015, allocations: 24 kB / 0.5603 GB, free: 2.367 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.602, allocations: 27.78 kB / 0.5603 GB, free: 2.34 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.6025, allocations: 159.7 kB / 0.5605 GB, free: 2.148 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.6028, allocations: 0.708 MB / 0.5612 GB, free: 1.414 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.6029, allocations: 23.42 kB / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6029, allocations: 0 / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of Templates: time 0.006426/0.6094, allocations: 2.057 MB / 0.5632 GB, free: 15.34 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches