Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001133/0.001133, allocations: 100.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5154/0.5154, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004639, allocations: 16 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5916, allocations: 87.68 MB / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.592, allocations: 71.97 kB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.6182, allocations: 5.286 MB / 0.5696 GB, free: 9.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6183, allocations: 4.656 kB / 0.5696 GB, free: 9.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.6183, allocations: 0 / 0.5696 GB, free: 9.586 MB / 394.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.0007796/0.6191, allocations: 422.5 kB / 0.57 GB, free: 9.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6192, allocations: 12.02 kB / 0.57 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.6192, allocations: 11.34 kB / 0.57 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.6197, allocations: 217.8 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.6197, allocations: 0 / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.6197, allocations: 4 kB / 0.5702 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.62, allocations: 58.47 kB / 0.5703 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.62, allocations: 0 / 0.5703 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.62, allocations: 1.5 kB / 0.5703 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.62, allocations: 5.031 kB / 0.5703 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.6202, allocations: 19.98 kB / 0.5703 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.6208, allocations: 304.8 kB / 0.5706 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.6211, allocations: 58.67 kB / 0.5707 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6211, allocations: 3.938 kB / 0.5707 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.6214, allocations: 75.45 kB / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.256e-06/0.6214, allocations: 4 kB / 0.5707 GB, free: 8.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008767/0.6223, allocations: 165.3 kB / 0.5709 GB, free: 8.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.6224, allocations: 63.28 kB / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.6227, allocations: 169.4 kB / 0.5711 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6227, allocations: 25.7 kB / 0.5711 GB, free: 7.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.6228, allocations: 162.6 kB / 0.5713 GB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.6229, allocations: 27.64 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.6229, allocations: 4 kB / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.623, allocations: 314.8 kB / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.6232, allocations: 26.14 kB / 0.5717 GB, free: 7.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.6233, allocations: 33.7 kB / 0.5717 GB, free: 7.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.6234, allocations: 27.98 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6234, allocations: 0 / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003249/0.6238, allocations: 102.3 kB / 0.5718 GB, free: 7.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6238, allocations: 8 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6238, allocations: 4.031 kB / 0.5718 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6239, allocations: 0 / 0.5718 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.624, allocations: 19.98 kB / 0.5718 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6241, allocations: 0 / 0.5718 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.6242, allocations: 3.953 kB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6242, allocations: 4 kB / 0.5718 GB, free: 7.074 MB / 394.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 () * Number of clocked 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.0001687/0.6244, allocations: 129.8 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.6244, allocations: 11.91 kB / 0.572 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.6249, allocations: 123.8 kB / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6249, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6249, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6249, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007774/0.6257, allocations: 419.2 kB / 0.5725 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6257, allocations: 288 / 0.5725 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.6258, allocations: 15.98 kB / 0.5725 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6258, allocations: 4.031 kB / 0.5725 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6259, allocations: 3.938 kB / 0.5725 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6259, allocations: 3.953 kB / 0.5725 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6259, allocations: 4 kB / 0.5725 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.6263, allocations: 221.9 kB / 0.5727 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.6264, allocations: 89 kB / 0.5728 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.6264, allocations: 15.95 kB / 0.5728 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6266, allocations: 384 / 0.5728 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.6266, allocations: 7.984 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6267, allocations: 4 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.6269, allocations: 144.8 kB / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6269, allocations: 0 / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.6273, allocations: 35.94 kB / 0.573 GB, free: 5.746 MB / 394.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) * Number of clocked states: 0 () * 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.001405/0.6287, allocations: 486.2 kB / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.6291, allocations: 59.86 kB / 0.5735 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6292, allocations: 0 / 0.5735 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6293, allocations: 31.98 kB / 0.5736 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.6297, allocations: 32.03 kB / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.6304, allocations: 278.5 kB / 0.5739 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.6308, allocations: 0.7083 MB / 0.5746 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.6309, allocations: 23.42 kB / 0.5746 GB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6309, allocations: 0 / 0.5746 GB, free: 4.188 MB / 394.7 MB Notification: Performance of Templates: time 0.005705/0.6366, allocations: 1.908 MB / 0.5765 GB, free: 2.281 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches