Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, 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 1.989/1.989, 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.001135/0.001135, allocations: 98.64 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.2909/0.2909, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.319e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.5948, allocations: 86.93 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.5952, allocations: 71.25 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.6293, allocations: 5.24 MB / 0.556 GB, free: 7.074 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6294, allocations: 7.938 kB / 0.556 GB, free: 7.066 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.6294, allocations: 0 / 0.556 GB, free: 7.066 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.0008324/0.6303, allocations: 398.2 kB / 0.5564 GB, free: 6.633 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.6304, allocations: 8.031 kB / 0.5564 GB, free: 6.625 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.6305, allocations: 11.91 kB / 0.5564 GB, free: 6.613 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.631, allocations: 217.6 kB / 0.5566 GB, free: 6.363 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.6311, allocations: 4 kB / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.6311, allocations: 0 / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/0.6313, allocations: 16 kB / 0.5566 GB, free: 6.344 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.6315, allocations: 57.67 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.6315, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.6315, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.6315, allocations: 3.938 kB / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.6322, allocations: 265.5 kB / 0.5569 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.6324, allocations: 50.69 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.6325, allocations: 20.98 kB / 0.557 GB, free: 5.898 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.6325, allocations: 3.984 kB / 0.557 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.6327, allocations: 67.33 kB / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 6.472e-06/0.6328, allocations: 0 / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007802/0.6336, allocations: 145.2 kB / 0.5572 GB, free: 5.668 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.6337, allocations: 59.39 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.634, allocations: 170.2 kB / 0.5574 GB, free: 5.426 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.6341, allocations: 25.7 kB / 0.5574 GB, free: 5.395 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6342, allocations: 162.6 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.6343, allocations: 19.72 kB / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.6343, allocations: 0 / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6345, allocations: 318.8 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.6346, allocations: 19.94 kB / 0.5579 GB, free: 4.875 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.6347, allocations: 29.72 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.6348, allocations: 23.98 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6349, allocations: 0 / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000334/0.6352, allocations: 81.59 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.6353, allocations: 8.125 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6353, allocations: 7.984 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6353, allocations: 3.938 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.6356, allocations: 16 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6356, allocations: 0 / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.6357, allocations: 4 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.6358, allocations: 15.97 kB / 0.5581 GB, free: 4.676 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.0001296/0.6359, allocations: 101 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.636, allocations: 11.91 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.6364, allocations: 114.2 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6365, allocations: 3.984 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6365, allocations: 0 / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.6365, allocations: 0 / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.6373, allocations: 383.8 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6374, allocations: 192 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.6375, allocations: 15.98 kB / 0.5587 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.6375, allocations: 0 / 0.5587 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.6375, allocations: 4 kB / 0.5587 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6376, allocations: 0 / 0.5587 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6376, allocations: 3.938 kB / 0.5587 GB, free: 3.992 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.638, allocations: 214 kB / 0.5589 GB, free: 3.758 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.6382, allocations: 93 kB / 0.559 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.6382, allocations: 0 / 0.559 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.6384, allocations: 7.938 kB / 0.559 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.6385, allocations: 19.88 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.6386, allocations: 4 kB / 0.5591 GB, free: 3.617 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.6388, allocations: 140.1 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6389, allocations: 4 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000632/0.6395, allocations: 31.91 kB / 0.5592 GB, free: 3.445 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.001738/0.6413, allocations: 396.9 kB / 0.5596 GB, free: 3.102 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.6416, allocations: 55.92 kB / 0.5597 GB, free: 3.047 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.6417, allocations: 0 / 0.5597 GB, free: 3.047 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.6418, allocations: 31.94 kB / 0.5597 GB, free: 3.016 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.6424, allocations: 23.84 kB / 0.5597 GB, free: 2.992 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.6432, allocations: 195.1 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.6437, allocations: 0.708 MB / 0.5606 GB, free: 2.027 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6438, allocations: 15.44 kB / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6438, allocations: 0 / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of Templates: time 0.007604/0.6515, allocations: 1.936 MB / 0.5625 GB, free: 84 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches