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.001498/0.001497, allocations: 185.4 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.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.00158/0.001579, allocations: 88.44 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.5025/0.5025, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004823, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1298, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5861, allocations: 87.71 MB / 0.5644 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5865, allocations: 79.95 kB / 0.5645 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02398/0.6105, allocations: 5.388 MB / 0.5697 GB, free: 9.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6105, allocations: 0 / 0.5697 GB, free: 9.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.6106, allocations: 5.219 kB / 0.5697 GB, free: 9.617 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.0006249/0.6112, allocations: 422.6 kB / 0.5701 GB, free: 9.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6113, allocations: 12.02 kB / 0.5701 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.6113, allocations: 11.34 kB / 0.5702 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6117, allocations: 213.8 kB / 0.5704 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6117, allocations: 8.859 kB / 0.5704 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.6118, allocations: 4 kB / 0.5704 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.6119, allocations: 53.67 kB / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.612, allocations: 0 / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.612, allocations: 0 / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.612, allocations: 5.031 kB / 0.5704 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.6121, allocations: 15.98 kB / 0.5704 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.6126, allocations: 308.8 kB / 0.5707 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.6129, allocations: 65.42 kB / 0.5708 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.6129, allocations: 4.125 kB / 0.5708 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.6131, allocations: 67.31 kB / 0.5709 GB, free: 8.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.6131, allocations: 0 / 0.5709 GB, free: 8.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008218/0.614, allocations: 173.3 kB / 0.571 GB, free: 8.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.614, allocations: 63.3 kB / 0.5711 GB, free: 8.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.6143, allocations: 169.4 kB / 0.5713 GB, free: 7.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.6143, allocations: 25.7 kB / 0.5713 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.6144, allocations: 162.6 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.6145, allocations: 27.64 kB / 0.5715 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.6145, allocations: 4 kB / 0.5715 GB, free: 7.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6146, allocations: 310.8 kB / 0.5718 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.6147, allocations: 23.98 kB / 0.5718 GB, free: 7.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6149, allocations: 37.7 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.615, allocations: 27.98 kB / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.615, allocations: 0 / 0.5718 GB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002922/0.6153, allocations: 97.52 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6153, allocations: 8 kB / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6154, allocations: 0 / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6154, allocations: 0 / 0.5719 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.6156, allocations: 20.02 kB / 0.572 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6156, allocations: 4 kB / 0.572 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.6157, allocations: 3.953 kB / 0.572 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.6157, allocations: 4 kB / 0.572 GB, free: 7.109 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.0001541/0.6159, allocations: 130.7 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.6159, allocations: 11.91 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.6163, allocations: 114.3 kB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6163, allocations: 4 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.6164, allocations: 4.281 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6164, allocations: 0 / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.6171, allocations: 419.2 kB / 0.5726 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6171, allocations: 3.938 kB / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.6172, allocations: 8 kB / 0.5726 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.6172, allocations: 7.984 kB / 0.5727 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6172, allocations: 0 / 0.5727 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.6173, allocations: 3.953 kB / 0.5727 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6173, allocations: 12.34 kB / 0.5727 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.6177, allocations: 217.9 kB / 0.5729 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.6178, allocations: 89.02 kB / 0.573 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.6178, allocations: 7.953 kB / 0.573 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.618, allocations: 11.98 kB / 0.573 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.618, allocations: 8 kB / 0.573 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.618, allocations: 4 kB / 0.573 GB, free: 5.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.6182, allocations: 140.8 kB / 0.5731 GB, free: 5.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6183, allocations: 0 / 0.5731 GB, free: 5.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.6186, allocations: 39.92 kB / 0.5732 GB, free: 5.777 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.00166/0.6203, allocations: 489.5 kB / 0.5736 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.6208, allocations: 59.91 kB / 0.5737 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6209, allocations: 0 / 0.5737 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.6211, allocations: 27.98 kB / 0.5737 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.6218, allocations: 23.92 kB / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6228, allocations: 286.6 kB / 0.574 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.6234, allocations: 0.7121 MB / 0.5747 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6236, allocations: 19.44 kB / 0.5747 GB, free: 4.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6236, allocations: 0 / 0.5747 GB, free: 4.215 MB / 394.7 MB Notification: Performance of Templates: time 0.008615/0.6322, allocations: 1.91 MB / 0.5766 GB, free: 2.312 MB / 394.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