Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.00188/0.00188, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.001696/0.001696, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.551/1.551, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 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.2388/0.2388, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.087e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002895/0.002926, allocations: 1.689 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004284, allocations: 0.7726 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004397, allocations: 0 / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.004836, allocations: 115.5 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.005139, allocations: 87.64 kB / 349.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.005451, allocations: 83.69 kB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.005664, allocations: 115.6 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005787, allocations: 4.234 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.005938, allocations: 71.8 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.006072, allocations: 59.86 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.006095, allocations: 8 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.006217, allocations: 43.92 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.006279, allocations: 19.92 kB / 350.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.006338, allocations: 23.86 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006582, allocations: 131.5 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.006587, allocations: 0 / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.006588, allocations: 0 / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.006596, allocations: 0 / 350.2 MB, free: 6.504 MB / 282.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.0006077/0.007204, allocations: 357.4 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.007249, allocations: 12.03 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.007326, allocations: 16.84 kB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.00771, allocations: 154.4 kB / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.007729, allocations: 384 / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.007764, allocations: 8.359 kB / 350.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.007937, allocations: 58.17 kB / 350.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.007951, allocations: 3.938 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.007965, allocations: 4 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00797, allocations: 0 / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.008053, allocations: 23.98 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.008397, allocations: 236.5 kB / 351.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.008582, allocations: 62.61 kB / 351.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.008639, allocations: 24.78 kB / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.008659, allocations: 0 / 351.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.008803, allocations: 67.39 kB / 351.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.008804, allocations: 0 / 351.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005999/0.009404, allocations: 189.3 kB / 351.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.009434, allocations: 51.41 kB / 351.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.00962, allocations: 250.3 kB / 351.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.009631, allocations: 29.7 kB / 351.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.009675, allocations: 108.1 kB / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.009702, allocations: 23.81 kB / 351.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.009742, allocations: 25.7 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.009795, allocations: 326.8 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.009853, allocations: 27.92 kB / 352.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.953e-05/0.009913, allocations: 33.7 kB / 352.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01002, allocations: 65.64 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01002, allocations: 0 / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.0102, allocations: 113.6 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01022, allocations: 4 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01022, allocations: 0 / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.01025, allocations: 3.938 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.01034, allocations: 19.98 kB / 352.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01035, allocations: 384 / 352.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.0104, allocations: 3.953 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01041, allocations: 7.938 kB / 352.5 MB, free: 4.055 MB / 282.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 ($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.0001122/0.01053, allocations: 137.8 kB / 352.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.01056, allocations: 19.98 kB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.01081, allocations: 139.1 kB / 352.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01082, allocations: 4 kB / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.01082, allocations: 0 / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.01083, allocations: 3.984 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.01117, allocations: 350.9 kB / 353.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01118, allocations: 0 / 353.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01121, allocations: 12 kB / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01122, allocations: 0 / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01123, allocations: 4 kB / 353.1 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01123, allocations: 8.031 kB / 353.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01123, allocations: 0 / 353.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01144, allocations: 220.2 kB / 353.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.01145, allocations: 11.91 kB / 353.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01148, allocations: 4 kB / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.01155, allocations: 4 kB / 353.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.01159, allocations: 7.984 kB / 353.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.01161, allocations: 4 kB / 353.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.01172, allocations: 192.2 kB / 353.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01172, allocations: 0 / 353.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01198, allocations: 27.98 kB / 353.6 MB, free: 2.852 MB / 282.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 (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.002141/0.01412, allocations: 0.4927 MB / 354.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01433, allocations: 63.91 kB / 354.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01433, allocations: 0 / 354.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.0144, allocations: 27.98 kB / 354.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.0148, allocations: 33.55 kB / 354.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01527, allocations: 276.2 kB / 354.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.177e-05/0.01536, allocations: 104.7 kB / 354.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.01542, allocations: 24.77 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.01546, allocations: 16.5 kB / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01547, allocations: 0 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of Templates: time 0.004861/0.02033, allocations: 1.853 MB / 356.5 MB, free: 52 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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: 4.915168751962483]