Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.694/1.694, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008467/0.0008465, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.208/0.208, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.358e-05, allocations: 8 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.6957, allocations: 86.95 MB / 0.5509 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.696, allocations: 78.86 kB / 0.5509 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.7093, allocations: 5.497 MB / 0.5563 GB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7094, allocations: 0 / 0.5563 GB, free: 3.633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.7094, allocations: 3.938 kB / 0.5563 GB, free: 3.629 MB / 362.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.0004439/0.7099, allocations: 410 kB / 0.5567 GB, free: 3.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7099, allocations: 8.031 kB / 0.5567 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.71, allocations: 15.81 kB / 0.5567 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.7103, allocations: 218.3 kB / 0.5569 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.7104, allocations: 7.938 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.7104, allocations: 3.75 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.638e-05/0.7105, allocations: 23.67 kB / 0.557 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.7106, allocations: 48 kB / 0.557 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7106, allocations: 3.906 kB / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7106, allocations: 0 / 0.557 GB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7107, allocations: 4 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.711, allocations: 273.8 kB / 0.5573 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.7112, allocations: 51.75 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.7112, allocations: 20.42 kB / 0.5573 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.7112, allocations: 4 kB / 0.5573 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.7114, allocations: 68.38 kB / 0.5574 GB, free: 2.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.7114, allocations: 0 / 0.5574 GB, free: 2.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004643/0.7119, allocations: 148.9 kB / 0.5576 GB, free: 2.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.7119, allocations: 55.34 kB / 0.5576 GB, free: 2.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.7121, allocations: 202 kB / 0.5578 GB, free: 2.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7121, allocations: 29.7 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.7122, allocations: 102.4 kB / 0.5579 GB, free: 1.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.7122, allocations: 30.83 kB / 0.558 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.7122, allocations: 0 / 0.558 GB, free: 1.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.7123, allocations: 325.6 kB / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.7123, allocations: 18.88 kB / 0.5583 GB, free: 1.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.7124, allocations: 30.97 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.7124, allocations: 18.86 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7124, allocations: 4 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000126/0.7126, allocations: 91.12 kB / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7126, allocations: 15.98 kB / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7126, allocations: 192 / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7126, allocations: 0 / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.7127, allocations: 16 kB / 0.5584 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7127, allocations: 4 kB / 0.5585 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.7128, allocations: 3.984 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.7128, allocations: 7.953 kB / 0.5585 GB, free: 1.387 MB / 362.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 6.853e-05/0.7129, allocations: 110.6 kB / 0.5586 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.7129, allocations: 15.81 kB / 0.5586 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.7131, allocations: 115.7 kB / 0.5587 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.7131, allocations: 4 kB / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7131, allocations: 0 / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7132, allocations: 0 / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.7135, allocations: 391.1 kB / 0.5591 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7135, allocations: 0 / 0.5591 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.7136, allocations: 15.98 kB / 0.5591 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7136, allocations: 4.031 kB / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7136, allocations: 0 / 0.5591 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.7136, allocations: 4 kB / 0.5591 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7136, allocations: 3.984 kB / 0.5591 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.7138, allocations: 212.3 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.7138, allocations: 99.84 kB / 0.5594 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.7138, allocations: 8 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.7139, allocations: 0 / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.714, allocations: 19.7 kB / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.714, allocations: 6.875 kB / 0.5594 GB, free: 396 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.7141, allocations: 157.8 kB / 0.5596 GB, free: 264 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7141, allocations: 0 / 0.5596 GB, free: 264 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.7144, allocations: 31.92 kB / 0.5596 GB, free: 232 kB / 362.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.0009455/0.7153, allocations: 389.5 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.7155, allocations: 54.12 kB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7155, allocations: 0 / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.7156, allocations: 30.73 kB / 0.5601 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.7159, allocations: 19.67 kB / 0.5601 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.7163, allocations: 186.4 kB / 0.5603 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7167, allocations: 0.7197 MB / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.033e-05/0.7168, allocations: 20.84 kB / 0.561 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.7168, allocations: 22.75 kB / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7168, allocations: 0 / 0.561 GB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004914/0.7217, allocations: 1.681 MB / 0.5626 GB, free: 13.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches