Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001481, allocations: 177.8 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 1.967/1.967, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001111/0.00111, allocations: 94 kB / 262.1 MB, free: 13.89 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.294/0.294, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.325e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.5645, allocations: 86.93 MB / 0.5508 GB, free: 12.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5648, allocations: 71.97 kB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.5891, allocations: 5.236 MB / 0.556 GB, free: 7.09 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5891, allocations: 3.938 kB / 0.556 GB, free: 7.086 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.5892, allocations: 4 kB / 0.556 GB, free: 7.082 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.000578/0.5898, allocations: 394.2 kB / 0.5564 GB, free: 6.652 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5898, allocations: 8.031 kB / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.5899, allocations: 15.89 kB / 0.5564 GB, free: 6.629 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.5903, allocations: 217.6 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5903, allocations: 0 / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.5904, allocations: 4 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.834e-05/0.5905, allocations: 19.98 kB / 0.5566 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.5907, allocations: 49.67 kB / 0.5567 GB, free: 6.301 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5907, allocations: 8 kB / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5907, allocations: 0 / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5907, allocations: 0 / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5912, allocations: 265.4 kB / 0.5569 GB, free: 5.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.5914, allocations: 50.69 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.5914, allocations: 20.98 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.5915, allocations: 7.922 kB / 0.557 GB, free: 5.906 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.5917, allocations: 63.39 kB / 0.5571 GB, free: 5.832 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 5.2e-06/0.5917, allocations: 7.938 kB / 0.5571 GB, free: 5.824 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006005/0.5923, allocations: 149.1 kB / 0.5572 GB, free: 5.672 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5924, allocations: 51.41 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.5926, allocations: 170.2 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5926, allocations: 29.7 kB / 0.5575 GB, free: 5.402 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.5927, allocations: 166.6 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5928, allocations: 19.72 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.5928, allocations: 0 / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.593, allocations: 314.8 kB / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.593, allocations: 19.94 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.5931, allocations: 33.72 kB / 0.558 GB, free: 4.844 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/0.5932, allocations: 23.98 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5932, allocations: 0 / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.5934, allocations: 85.66 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5935, allocations: 4 kB / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5935, allocations: 0 / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5935, allocations: 4 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.5937, allocations: 19.92 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5937, allocations: 0 / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.5938, allocations: 4 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.5938, allocations: 7.953 kB / 0.5581 GB, free: 4.691 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.0001143/0.594, allocations: 109 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.594, allocations: 15.91 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.5943, allocations: 106.2 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5944, allocations: 0 / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5944, allocations: 3.984 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5944, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.595, allocations: 383.8 kB / 0.5587 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5951, allocations: 192 / 0.5587 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.5952, allocations: 20.27 kB / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5952, allocations: 0 / 0.5587 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5952, allocations: 4 kB / 0.5587 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5952, allocations: 3.938 kB / 0.5587 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5952, allocations: 0 / 0.5587 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.5955, allocations: 213.9 kB / 0.5589 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.5957, allocations: 97 kB / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.5957, allocations: 0 / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5958, allocations: 7.938 kB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.5959, allocations: 11.94 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5959, allocations: 3.938 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.5961, allocations: 140.1 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5961, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000404/0.5965, allocations: 35.89 kB / 0.5592 GB, free: 3.457 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.001185/0.5977, allocations: 395.1 kB / 0.5596 GB, free: 3.105 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.598, allocations: 55.91 kB / 0.5597 GB, free: 3.051 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.598, allocations: 0 / 0.5597 GB, free: 3.051 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.5981, allocations: 28 kB / 0.5597 GB, free: 3.023 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5986, allocations: 28.09 kB / 0.5597 GB, free: 2.996 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.5992, allocations: 191 kB / 0.5599 GB, free: 2.77 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.5996, allocations: 0.7159 MB / 0.5606 GB, free: 2.027 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.5996, allocations: 15.44 kB / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5997, allocations: 0 / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of Templates: time 0.006135/0.6058, allocations: 1.916 MB / 0.5625 GB, free: 104 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches