Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.002371, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0011/0.0011, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2775/0.2775, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.032e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6024, allocations: 87.63 MB / 0.5584 GB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6028, allocations: 83.02 kB / 0.5585 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.6277, allocations: 5.678 MB / 0.564 GB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6278, allocations: 0 / 0.564 GB, free: 11.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.6278, allocations: 7.938 kB / 0.564 GB, free: 11.15 MB / 378.7 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.0005708/0.6284, allocations: 409.9 kB / 0.5644 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6285, allocations: 8.031 kB / 0.5644 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.6285, allocations: 15.91 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.629, allocations: 236.7 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.629, allocations: 0 / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.629, allocations: 0 / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6292, allocations: 59.98 kB / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6292, allocations: 0 / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6292, allocations: 0 / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6293, allocations: 0 / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.6293, allocations: 19.23 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.6299, allocations: 316.7 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.6301, allocations: 55.12 kB / 0.5651 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.6302, allocations: 20.3 kB / 0.5651 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.6302, allocations: 0 / 0.5651 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.6304, allocations: 69.52 kB / 0.5652 GB, free: 9.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.6304, allocations: 3.938 kB / 0.5652 GB, free: 9.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006171/0.631, allocations: 159.9 kB / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.6311, allocations: 54.84 kB / 0.5654 GB, free: 9.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.6316, allocations: 237.8 kB / 0.5656 GB, free: 9.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.6316, allocations: 28.83 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6318, allocations: 171.5 kB / 0.5658 GB, free: 9.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.6318, allocations: 31.08 kB / 0.5658 GB, free: 9.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-06/0.6318, allocations: 3.188 kB / 0.5658 GB, free: 9.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.632, allocations: 318.8 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.6321, allocations: 19.06 kB / 0.5661 GB, free: 8.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.6322, allocations: 35.41 kB / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.6322, allocations: 22.86 kB / 0.5662 GB, free: 8.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6323, allocations: 0 / 0.5662 GB, free: 8.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.6325, allocations: 98.97 kB / 0.5663 GB, free: 8.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6325, allocations: 8 kB / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6326, allocations: 4.031 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6326, allocations: 0 / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6327, allocations: 15.98 kB / 0.5663 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.6328, allocations: 7.953 kB / 0.5663 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.6329, allocations: 0 / 0.5663 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6329, allocations: 4 kB / 0.5663 GB, free: 8.75 MB / 378.7 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 9.505e-05/0.633, allocations: 112.7 kB / 0.5664 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.6331, allocations: 15.89 kB / 0.5665 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.6334, allocations: 125 kB / 0.5666 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6334, allocations: 0 / 0.5666 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.6334, allocations: 4 kB / 0.5666 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6335, allocations: 3.953 kB / 0.5666 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.6341, allocations: 426.7 kB / 0.567 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6342, allocations: 192 / 0.567 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.6343, allocations: 15.98 kB / 0.567 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6343, allocations: 4 kB / 0.567 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6343, allocations: 4.031 kB / 0.567 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6343, allocations: 3.953 kB / 0.567 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6343, allocations: 4 kB / 0.567 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.6346, allocations: 219.5 kB / 0.5672 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6348, allocations: 96.91 kB / 0.5673 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.6348, allocations: 11.08 kB / 0.5673 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6349, allocations: 8 kB / 0.5673 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.635, allocations: 3.984 kB / 0.5673 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.635, allocations: 11.81 kB / 0.5674 GB, free: 7.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.6353, allocations: 195.5 kB / 0.5675 GB, free: 7.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6353, allocations: 0 / 0.5675 GB, free: 7.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.6357, allocations: 47.17 kB / 0.5676 GB, free: 7.484 MB / 378.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: 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.00123/0.637, allocations: 424.2 kB / 0.568 GB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6372, allocations: 54.44 kB / 0.568 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6372, allocations: 0 / 0.568 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-05/0.6373, allocations: 31.42 kB / 0.5681 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.6377, allocations: 32.38 kB / 0.5681 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.6384, allocations: 257.9 kB / 0.5683 GB, free: 6.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.6388, allocations: 0.7198 MB / 0.569 GB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.6388, allocations: 19.44 kB / 0.5691 GB, free: 6.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6389, allocations: 0 / 0.5691 GB, free: 6.02 MB / 378.7 MB Notification: Performance of Templates: time 0.005944/0.6448, allocations: 2.144 MB / 0.5712 GB, free: 3.887 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches