Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 182.4 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.069/2.069, 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.001214/0.001214, allocations: 94.62 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.2953/0.2953, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.451e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.479/0.5989, allocations: 87.62 MB / 0.5584 GB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.5993, allocations: 77.73 kB / 0.5584 GB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02325/0.6225, allocations: 5.366 MB / 0.5637 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6226, allocations: 0 / 0.5637 GB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.6226, allocations: 3.938 kB / 0.5637 GB, free: 11.45 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.0005639/0.6232, allocations: 393.4 kB / 0.5641 GB, free: 11.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6232, allocations: 8.031 kB / 0.5641 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.6233, allocations: 7.906 kB / 0.5641 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.6237, allocations: 219.7 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.6237, allocations: 8 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.6238, allocations: 0 / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6239, allocations: 60.86 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6239, allocations: 0 / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.624, allocations: 3.688 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.624, allocations: 0 / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.6241, allocations: 19.56 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.6245, allocations: 290.8 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.6247, allocations: 61.62 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.6248, allocations: 16.55 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.6248, allocations: 4 kB / 0.5647 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.625, allocations: 66.64 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.625, allocations: 0 / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005854/0.6256, allocations: 170.8 kB / 0.565 GB, free: 10.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6257, allocations: 51.41 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.6259, allocations: 180.1 kB / 0.5652 GB, free: 9.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.626, allocations: 29.27 kB / 0.5652 GB, free: 9.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.626, allocations: 161.7 kB / 0.5654 GB, free: 9.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.6261, allocations: 19.41 kB / 0.5654 GB, free: 9.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.6261, allocations: 3.625 kB / 0.5654 GB, free: 9.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6262, allocations: 314.8 kB / 0.5657 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.6263, allocations: 23.25 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.6264, allocations: 36.91 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.6265, allocations: 23.3 kB / 0.5658 GB, free: 9.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6265, allocations: 0 / 0.5658 GB, free: 9.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.6267, allocations: 87.53 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6268, allocations: 8 kB / 0.5659 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6268, allocations: 0 / 0.5659 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6268, allocations: 3.938 kB / 0.5659 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.627, allocations: 20.02 kB / 0.5659 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.627, allocations: 7.953 kB / 0.5659 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.6271, allocations: 0 / 0.5659 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.6271, allocations: 4 kB / 0.5659 GB, free: 9.156 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.202e-05/0.6272, allocations: 114.3 kB / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.6273, allocations: 7.906 kB / 0.566 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.6276, allocations: 123.9 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6276, allocations: 288 / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6276, allocations: 4 kB / 0.5661 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6276, allocations: 7.938 kB / 0.5661 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.6283, allocations: 413.8 kB / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6283, allocations: 0 / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.6284, allocations: 12 kB / 0.5665 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6284, allocations: 3.938 kB / 0.5665 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.6284, allocations: 0 / 0.5665 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.6285, allocations: 7.953 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6285, allocations: 0 / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.6288, allocations: 223.2 kB / 0.5668 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.6289, allocations: 85.02 kB / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.629, allocations: 7.953 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6291, allocations: 7.484 kB / 0.5669 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6291, allocations: 4 kB / 0.5669 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6292, allocations: 11.94 kB / 0.5669 GB, free: 8.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6294, allocations: 144.7 kB / 0.567 GB, free: 8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6294, allocations: 0 / 0.567 GB, free: 8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.6297, allocations: 31.16 kB / 0.567 GB, free: 7.973 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.001256/0.631, allocations: 425.8 kB / 0.5674 GB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.6312, allocations: 56.8 kB / 0.5675 GB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6312, allocations: 0 / 0.5675 GB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.6313, allocations: 37.06 kB / 0.5675 GB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.6317, allocations: 25.84 kB / 0.5676 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.6322, allocations: 204.4 kB / 0.5678 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.6326, allocations: 0.7043 MB / 0.5684 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/0.6327, allocations: 19.42 kB / 0.5685 GB, free: 6.555 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6327, allocations: 0 / 0.5685 GB, free: 6.555 MB / 378.7 MB Notification: Performance of Templates: time 0.005303/0.6381, allocations: 1.934 MB / 0.5703 GB, free: 4.633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches