Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 77.16 kB / 19.93 MB, free: 1.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 165.3 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.397e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003545/0.003579, allocations: 1.67 MB / 409.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.006004, allocations: 1.474 MB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.00609, allocations: 4 kB / 410.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.006415, allocations: 43.7 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.006692, allocations: 59.7 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.006977, allocations: 91.38 kB / 410.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.007236, allocations: 103.6 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.007374, allocations: 8.219 kB / 410.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.007506, allocations: 43.91 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.007645, allocations: 31.89 kB / 411 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.007673, allocations: 8 kB / 411 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.007842, allocations: 63.84 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.00791, allocations: 23.86 kB / 411.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.007963, allocations: 16 kB / 411.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.008233, allocations: 127.5 kB / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.008237, allocations: 3.938 kB / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008238, allocations: 0 / 411.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.008245, allocations: 0 / 411.2 MB, free: 15.16 MB / 350.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.0006456/0.00889, allocations: 333.7 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.008926, allocations: 8.031 kB / 411.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.008971, allocations: 8.891 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.009293, allocations: 149.6 kB / 411.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.009309, allocations: 4.375 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.00934, allocations: 8.312 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.009569, allocations: 93.64 kB / 411.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.009584, allocations: 7.938 kB / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.009596, allocations: 0 / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.009601, allocations: 0 / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.00971, allocations: 23.98 kB / 411.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.01016, allocations: 224.6 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.01038, allocations: 66.56 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.01045, allocations: 28.78 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.01046, allocations: 0 / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.01064, allocations: 71.34 kB / 412.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.01064, allocations: 0 / 412.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000632/0.01127, allocations: 177.4 kB / 412.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.01134, allocations: 81.11 kB / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.01152, allocations: 153 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.01155, allocations: 33.7 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.01164, allocations: 96.12 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01168, allocations: 35.73 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.01173, allocations: 21.72 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.0119, allocations: 318.8 kB / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.01197, allocations: 27.92 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.01207, allocations: 68.27 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.01221, allocations: 65.64 kB / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01221, allocations: 0 / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002152/0.01243, allocations: 105.6 kB / 413.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.01245, allocations: 4 kB / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01246, allocations: 4.062 kB / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01247, allocations: 0 / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01258, allocations: 20.17 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01258, allocations: 0 / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.01263, allocations: 7.938 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.01264, allocations: 7.938 kB / 413.4 MB, free: 12.74 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.01276, allocations: 129 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.01279, allocations: 7.953 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.01309, allocations: 118.4 kB / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01309, allocations: 4 kB / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.0131, allocations: 0 / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.0131, allocations: 0 / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.01364, allocations: 350.9 kB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01364, allocations: 0 / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.01369, allocations: 8 kB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01369, allocations: 0 / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.01372, allocations: 8.375 kB / 414 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01372, allocations: 3.938 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.01372, allocations: 4 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.01403, allocations: 220.2 kB / 414.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.01405, allocations: 7.953 kB / 414.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.01408, allocations: 0 / 414.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.01415, allocations: 4 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.01421, allocations: 15.97 kB / 414.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.01422, allocations: 4 kB / 414.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.01434, allocations: 119.2 kB / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01434, allocations: 0 / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.01463, allocations: 35.92 kB / 414.4 MB, free: 11.65 MB / 350.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.01666, allocations: 0.5229 MB / 414.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.0169, allocations: 63.91 kB / 415 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.0169, allocations: 0 / 415 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.01699, allocations: 31.98 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.01738, allocations: 23.98 kB / 415.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.01791, allocations: 194.1 kB / 415.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.018, allocations: 83.73 kB / 415.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.315e-05/0.01807, allocations: 24.55 kB / 415.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01813, allocations: 20.5 kB / 415.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.01813, allocations: 0 / 415.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Templates: time 0.006281/0.02441, allocations: 2.119 MB / 417.5 MB, free: 8.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.276650492101908]