Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002142/0.002142, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 91.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3277/0.3277, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.976e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4015, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.566, allocations: 86.96 MB / 0.5508 GB, free: 12.33 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5664, allocations: 71.97 kB / 0.5509 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.5914, allocations: 5.452 MB / 0.5562 GB, free: 6.812 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5915, allocations: 0 / 0.5562 GB, free: 6.812 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.5915, allocations: 0 / 0.5562 GB, free: 6.812 MB / 395.1 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.0005937/0.5921, allocations: 398.2 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5922, allocations: 12.03 kB / 0.5566 GB, free: 6.367 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.5922, allocations: 11.81 kB / 0.5566 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.5926, allocations: 226.8 kB / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5927, allocations: 0 / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.5927, allocations: 4 kB / 0.5568 GB, free: 6.09 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.5928, allocations: 23.92 kB / 0.5569 GB, free: 6.066 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.5929, allocations: 45.69 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.593, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.593, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.593, allocations: 4 kB / 0.5569 GB, free: 6.012 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.5935, allocations: 281.4 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.5937, allocations: 50.62 kB / 0.5572 GB, free: 5.641 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.5937, allocations: 16.98 kB / 0.5572 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.5937, allocations: 0 / 0.5572 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.5939, allocations: 71.39 kB / 0.5573 GB, free: 5.539 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.5939, allocations: 3.938 kB / 0.5573 GB, free: 5.535 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006235/0.5946, allocations: 153.1 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.5946, allocations: 55.41 kB / 0.5575 GB, free: 5.312 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.595, allocations: 185.5 kB / 0.5577 GB, free: 5.121 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.595, allocations: 29.7 kB / 0.5577 GB, free: 5.086 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.5951, allocations: 162.6 kB / 0.5579 GB, free: 4.926 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.5952, allocations: 27.7 kB / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.5952, allocations: 0 / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5953, allocations: 314.8 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.5954, allocations: 16 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.5955, allocations: 37.64 kB / 0.5583 GB, free: 4.523 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.5956, allocations: 20 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5956, allocations: 0 / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.5958, allocations: 89.55 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5959, allocations: 8 kB / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5959, allocations: 160 / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5959, allocations: 0 / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.5961, allocations: 16 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5961, allocations: 3.984 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.5962, allocations: 11.92 kB / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5962, allocations: 3.953 kB / 0.5584 GB, free: 4.367 MB / 395.1 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 0.0001004/0.5963, allocations: 108.9 kB / 0.5585 GB, free: 4.254 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.5964, allocations: 11.91 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.5967, allocations: 115.4 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5967, allocations: 0 / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5968, allocations: 0 / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5968, allocations: 0 / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.5974, allocations: 387.8 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5975, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.5975, allocations: 11.94 kB / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.5976, allocations: 12.02 kB / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5976, allocations: 0 / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5976, allocations: 0 / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5976, allocations: 0 / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.5979, allocations: 217.9 kB / 0.5592 GB, free: 3.438 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5981, allocations: 88.92 kB / 0.5593 GB, free: 3.332 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5981, allocations: 15.92 kB / 0.5593 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5983, allocations: 0 / 0.5593 GB, free: 3.316 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.5984, allocations: 15.94 kB / 0.5593 GB, free: 3.301 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5984, allocations: 4 kB / 0.5593 GB, free: 3.297 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.5986, allocations: 152.6 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5986, allocations: 0 / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.599, allocations: 28 kB / 0.5595 GB, free: 3.121 MB / 395.1 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.001189/0.6002, allocations: 402 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.6005, allocations: 51.98 kB / 0.56 GB, free: 2.723 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6005, allocations: 4.062 kB / 0.56 GB, free: 2.719 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.6006, allocations: 27.94 kB / 0.56 GB, free: 2.691 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.601, allocations: 35.11 kB / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.6016, allocations: 207.8 kB / 0.5602 GB, free: 2.426 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.602, allocations: 0.7158 MB / 0.5609 GB, free: 1.684 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.6021, allocations: 23.42 kB / 0.5609 GB, free: 1.66 MB / 395.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6021, allocations: 0 / 0.5609 GB, free: 1.66 MB / 395.1 MB Notification: Performance of Templates: time 0.006093/0.6082, allocations: 1.986 MB / 0.5629 GB, free: 15.68 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches