Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001525, allocations: 181.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.122/2.122, 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.001062/0.001063, allocations: 86.7 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.2881/0.2881, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.651e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1622, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5775/0.7398, allocations: 87.57 MB / 0.5583 GB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.7402, allocations: 76.25 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02391/0.7641, allocations: 5.175 MB / 0.5634 GB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7641, allocations: 0 / 0.5634 GB, free: 11.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.7642, allocations: 7.938 kB / 0.5635 GB, free: 11.62 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.0005376/0.7647, allocations: 380.8 kB / 0.5638 GB, free: 11.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.7648, allocations: 12.03 kB / 0.5638 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.7648, allocations: 7.906 kB / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.7653, allocations: 214.3 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.7653, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.7653, allocations: 4 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.7655, allocations: 55.17 kB / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7655, allocations: 0 / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.7656, allocations: 0 / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.7656, allocations: 8 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.7657, allocations: 21.67 kB / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.7662, allocations: 287.7 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.7664, allocations: 54.69 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.7664, allocations: 15.92 kB / 0.5645 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.7665, allocations: 4 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.7666, allocations: 69.14 kB / 0.5645 GB, free: 10.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.7667, allocations: 3.938 kB / 0.5645 GB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00062/0.7673, allocations: 158.4 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7674, allocations: 51.41 kB / 0.5647 GB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.7676, allocations: 150.7 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.7676, allocations: 25.7 kB / 0.5649 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.7677, allocations: 172.7 kB / 0.5651 GB, free: 9.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.7678, allocations: 26.77 kB / 0.5651 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.7678, allocations: 0 / 0.5651 GB, free: 9.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7679, allocations: 314.2 kB / 0.5654 GB, free: 9.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.768, allocations: 19 kB / 0.5654 GB, free: 9.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-05/0.7681, allocations: 40.39 kB / 0.5655 GB, free: 9.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.7682, allocations: 18.44 kB / 0.5655 GB, free: 9.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7682, allocations: 0 / 0.5655 GB, free: 9.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.7684, allocations: 99.7 kB / 0.5656 GB, free: 9.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7684, allocations: 8 kB / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.7685, allocations: 0 / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7685, allocations: 0 / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.7687, allocations: 16 kB / 0.5656 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.7687, allocations: 8.094 kB / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.7688, allocations: 0 / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.7688, allocations: 4 kB / 0.5656 GB, free: 9.355 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.242e-05/0.7689, allocations: 117.6 kB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.7689, allocations: 7.906 kB / 0.5657 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.7693, allocations: 124.9 kB / 0.5658 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7693, allocations: 0 / 0.5658 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7693, allocations: 0 / 0.5658 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7693, allocations: 3.953 kB / 0.5658 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.77, allocations: 397.9 kB / 0.5662 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.77, allocations: 0 / 0.5662 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.7701, allocations: 12.03 kB / 0.5662 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7701, allocations: 4 kB / 0.5662 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.7701, allocations: 3.25 kB / 0.5662 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.7701, allocations: 3.953 kB / 0.5662 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7701, allocations: 0 / 0.5662 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.7704, allocations: 215.9 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.7705, allocations: 96.94 kB / 0.5665 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.7706, allocations: 7.953 kB / 0.5666 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7707, allocations: 0 / 0.5666 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.7708, allocations: 8.359 kB / 0.5666 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.7708, allocations: 11.88 kB / 0.5666 GB, free: 8.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.7709, allocations: 123.9 kB / 0.5667 GB, free: 8.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.771, allocations: 0 / 0.5667 GB, free: 8.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000358/0.7713, allocations: 39.73 kB / 0.5667 GB, free: 8.195 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.00124/0.7726, allocations: 420.2 kB / 0.5671 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.7728, allocations: 62.92 kB / 0.5672 GB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7729, allocations: 0 / 0.5672 GB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.773, allocations: 35.86 kB / 0.5672 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.7734, allocations: 22.11 kB / 0.5672 GB, free: 7.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.7739, allocations: 179.8 kB / 0.5674 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7742, allocations: 0.7043 MB / 0.5681 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.7743, allocations: 19.19 kB / 0.5681 GB, free: 6.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7743, allocations: 4.062 kB / 0.5681 GB, free: 6.805 MB / 378.7 MB Notification: Performance of Templates: time 0.005437/0.7798, allocations: 1.859 MB / 0.5699 GB, free: 4.957 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches