Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001091, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.791/1.791, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009218/0.0009218, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2244/0.2244, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003415, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 58.84 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5912, allocations: 87.71 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5916, allocations: 78.72 kB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01641/0.608, allocations: 5.825 MB / 0.5702 GB, free: 7.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.6081, allocations: 0 / 0.5702 GB, free: 7.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.6081, allocations: 4 kB / 0.5702 GB, free: 7.129 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007597/0.6089, allocations: 429.6 kB / 0.5706 GB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.6089, allocations: 8.562 kB / 0.5706 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.609, allocations: 7.906 kB / 0.5706 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.6095, allocations: 230.4 kB / 0.5708 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.6095, allocations: 7.75 kB / 0.5708 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.6096, allocations: 4 kB / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.6098, allocations: 75.95 kB / 0.5709 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6098, allocations: 3.906 kB / 0.5709 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.6098, allocations: 0 / 0.5709 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6098, allocations: 0 / 0.5709 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.61, allocations: 50.95 kB / 0.571 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.6107, allocations: 324.3 kB / 0.5713 GB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.611, allocations: 92.28 kB / 0.5714 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.611, allocations: 8.219 kB / 0.5714 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.6113, allocations: 78.19 kB / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/0.6113, allocations: 0 / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009067/0.6122, allocations: 235 kB / 0.5717 GB, free: 5.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.6123, allocations: 59.3 kB / 0.5717 GB, free: 5.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.6125, allocations: 181 kB / 0.5719 GB, free: 5.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.6125, allocations: 29.7 kB / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.6126, allocations: 102.5 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.6127, allocations: 34.81 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.6127, allocations: 4 kB / 0.5721 GB, free: 5.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6129, allocations: 326.2 kB / 0.5724 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.613, allocations: 27.3 kB / 0.5724 GB, free: 4.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.6131, allocations: 52.19 kB / 0.5724 GB, free: 4.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.127e-05/0.6132, allocations: 35.67 kB / 0.5725 GB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6132, allocations: 0 / 0.5725 GB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003013/0.6135, allocations: 132.9 kB / 0.5726 GB, free: 4.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6135, allocations: 11.62 kB / 0.5726 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6135, allocations: 0 / 0.5726 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6136, allocations: 3.938 kB / 0.5726 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.6137, allocations: 24.48 kB / 0.5726 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6137, allocations: 0 / 0.5726 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.6138, allocations: 13.67 kB / 0.5727 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.6138, allocations: 5.188 kB / 0.5727 GB, free: 4.621 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001478/0.614, allocations: 124.7 kB / 0.5728 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.614, allocations: 15.81 kB / 0.5728 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.6145, allocations: 168.6 kB / 0.573 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6145, allocations: 0 / 0.573 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6145, allocations: 0 / 0.573 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6145, allocations: 0 / 0.573 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.6152, allocations: 479.7 kB / 0.5734 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6152, allocations: 0 / 0.5734 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.6153, allocations: 19.36 kB / 0.5734 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.6153, allocations: 7.984 kB / 0.5734 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6153, allocations: 0 / 0.5734 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.6153, allocations: 7.953 kB / 0.5734 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6153, allocations: 0 / 0.5734 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.6157, allocations: 262.3 kB / 0.5737 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.6158, allocations: 92.92 kB / 0.5738 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.6158, allocations: 11.19 kB / 0.5738 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.6159, allocations: 7.188 kB / 0.5738 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.616, allocations: 7.984 kB / 0.5738 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.616, allocations: 4 kB / 0.5738 GB, free: 3.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.6161, allocations: 150.6 kB / 0.574 GB, free: 3.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6162, allocations: 0 / 0.574 GB, free: 3.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.6165, allocations: 34.69 kB / 0.574 GB, free: 3.305 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001244/0.6177, allocations: 499 kB / 0.5745 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.618, allocations: 83.72 kB / 0.5745 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.618, allocations: 0 / 0.5745 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.6181, allocations: 60.22 kB / 0.5746 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.6185, allocations: 23.48 kB / 0.5746 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.6191, allocations: 285.6 kB / 0.5749 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.6196, allocations: 0.7121 MB / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.6197, allocations: 24.64 kB / 0.5756 GB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.6198, allocations: 19.42 kB / 0.5756 GB, free: 1.688 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6198, allocations: 0 / 0.5756 GB, free: 1.688 MB / 378.7 MB Notification: Performance of Templates: time 0.005637/0.6254, allocations: 1.906 MB / 0.5775 GB, free: 15.8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches