Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002406/0.00241, allocations: 181.1 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.13/2.13, 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.001103/0.001103, allocations: 86.66 kB / 267.5 MB, free: 14.05 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.284/0.284, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.737e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6067, allocations: 87.85 MB / 0.5586 GB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.607, allocations: 81.27 kB / 0.5587 GB, free: 15.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.632, allocations: 5.763 MB / 0.5643 GB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6321, allocations: 7.938 kB / 0.5643 GB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.6321, allocations: 4 kB / 0.5643 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.000572/0.6327, allocations: 381.6 kB / 0.5647 GB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6328, allocations: 8.031 kB / 0.5647 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.6328, allocations: 11.09 kB / 0.5647 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.6332, allocations: 212.1 kB / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.6333, allocations: 4 kB / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.6333, allocations: 0 / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.6335, allocations: 77.58 kB / 0.565 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6335, allocations: 0 / 0.565 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6335, allocations: 0 / 0.565 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6335, allocations: 0 / 0.565 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.6336, allocations: 18.19 kB / 0.565 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.6341, allocations: 288.8 kB / 0.5653 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.6343, allocations: 60.62 kB / 0.5653 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.6344, allocations: 16.17 kB / 0.5653 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.6344, allocations: 0 / 0.5653 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.6346, allocations: 72.77 kB / 0.5654 GB, free: 9.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.098e-06/0.6346, allocations: 0 / 0.5654 GB, free: 9.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006084/0.6352, allocations: 155.4 kB / 0.5655 GB, free: 9.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.6353, allocations: 85.11 kB / 0.5656 GB, free: 9.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.6355, allocations: 141.8 kB / 0.5658 GB, free: 9.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.6356, allocations: 25.7 kB / 0.5658 GB, free: 9.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.6357, allocations: 157.1 kB / 0.5659 GB, free: 9.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.6357, allocations: 30.5 kB / 0.566 GB, free: 9.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6358, allocations: 7.438 kB / 0.566 GB, free: 9.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6359, allocations: 310.8 kB / 0.5663 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.636, allocations: 19.19 kB / 0.5663 GB, free: 9.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.6361, allocations: 46.08 kB / 0.5663 GB, free: 8.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.6362, allocations: 28.98 kB / 0.5664 GB, free: 8.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6362, allocations: 0 / 0.5664 GB, free: 8.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002211/0.6364, allocations: 86.17 kB / 0.5664 GB, free: 8.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6364, allocations: 11.95 kB / 0.5665 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6365, allocations: 3.938 kB / 0.5665 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6365, allocations: 0 / 0.5665 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.6367, allocations: 16.06 kB / 0.5665 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6367, allocations: 4 kB / 0.5665 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.6368, allocations: 3.984 kB / 0.5665 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.6368, allocations: 4.156 kB / 0.5665 GB, free: 8.844 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.459e-05/0.6369, allocations: 110.4 kB / 0.5666 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.637, allocations: 7.906 kB / 0.5666 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.6373, allocations: 129.9 kB / 0.5667 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6373, allocations: 0 / 0.5667 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6373, allocations: 4 kB / 0.5667 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6373, allocations: 0 / 0.5667 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.638, allocations: 393.6 kB / 0.5671 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.638, allocations: 7.953 kB / 0.5671 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.6381, allocations: 11.94 kB / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.6381, allocations: 0 / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6381, allocations: 3.375 kB / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6381, allocations: 4 kB / 0.5671 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6381, allocations: 4.031 kB / 0.5671 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.6385, allocations: 219.8 kB / 0.5673 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.6385, allocations: 88.14 kB / 0.5674 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.6386, allocations: 384 / 0.5674 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.6387, allocations: 11.92 kB / 0.5674 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.6388, allocations: 15.61 kB / 0.5675 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6388, allocations: 0 / 0.5675 GB, free: 7.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.639, allocations: 121.5 kB / 0.5676 GB, free: 7.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.639, allocations: 4 kB / 0.5676 GB, free: 7.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.6394, allocations: 39.86 kB / 0.5676 GB, free: 7.691 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.001424/0.6408, allocations: 459.9 kB / 0.568 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.6411, allocations: 62.55 kB / 0.5681 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6411, allocations: 0 / 0.5681 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.6412, allocations: 31.47 kB / 0.5681 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.6416, allocations: 42.83 kB / 0.5682 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.6421, allocations: 158.8 kB / 0.5683 GB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.6424, allocations: 0.6965 MB / 0.569 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.6425, allocations: 19.42 kB / 0.569 GB, free: 6.277 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6425, allocations: 0 / 0.569 GB, free: 6.277 MB / 378.7 MB Notification: Performance of Templates: time 0.00593/0.6485, allocations: 2.064 MB / 0.571 GB, free: 4.223 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches