Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001928/0.001928, allocations: 76.38 kB / 19.93 MB, free: 1.77 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.002455/0.002455, allocations: 170.7 kB / 23.22 MB, free: 4.887 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.478/1.478, allocations: 158.6 MB / 185 MB, free: 6.398 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.2403/0.2403, allocations: 32.38 MB / 269.6 MB, free: 4.652 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.312e-05, allocations: 2.281 kB / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003774/0.003807, allocations: 1.674 MB / 409.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005662, allocations: 0.7801 MB / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.005761, allocations: 0 / 409.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.006228, allocations: 87.64 kB / 410 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.006563, allocations: 83.64 kB / 410.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.006901, allocations: 95 kB / 410.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.00718, allocations: 111.6 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.007342, allocations: 16.11 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.007511, allocations: 63.86 kB / 410.3 MB, free: 0 / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.007722, allocations: 55.88 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.007755, allocations: 4 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.007886, allocations: 43.92 kB / 410.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.007993, allocations: 31.84 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.008068, allocations: 19.92 kB / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.008376, allocations: 115.6 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.008382, allocations: 4 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008384, allocations: 0 / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.008408, allocations: 0 / 410.6 MB, free: 15.73 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.0008304/0.009239, allocations: 353.5 kB / 411 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.009299, allocations: 12.03 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.009378, allocations: 12.84 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.009843, allocations: 161.5 kB / 411.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.009873, allocations: 4.359 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.00991, allocations: 4.375 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.01015, allocations: 54.23 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.01017, allocations: 11.88 kB / 411.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01019, allocations: 4 kB / 411.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.0102, allocations: 0 / 411.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.01031, allocations: 23.98 kB / 411.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.01087, allocations: 224.6 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.0111, allocations: 62.61 kB / 411.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.01117, allocations: 24.78 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.0112, allocations: 0 / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.01142, allocations: 75.39 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.01142, allocations: 0 / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008009/0.01222, allocations: 189.3 kB / 411.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.0123, allocations: 51.41 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.0126, allocations: 226.8 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01263, allocations: 29.7 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01274, allocations: 108.1 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.01279, allocations: 27.75 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.01284, allocations: 25.7 kB / 412.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.01305, allocations: 322.8 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.01312, allocations: 27.98 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.0132, allocations: 37.64 kB / 412.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01336, allocations: 73.52 kB / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01336, allocations: 0 / 412.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.01358, allocations: 105.6 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.01361, allocations: 4 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.01362, allocations: 4 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.01366, allocations: 3.984 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01378, allocations: 16.03 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.01379, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.01384, allocations: 4 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01386, allocations: 4 kB / 412.9 MB, free: 13.3 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.0001857/0.01404, allocations: 137.3 kB / 413 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01408, allocations: 11.91 kB / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.0144, allocations: 131.2 kB / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.0144, allocations: 0 / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01441, allocations: 0 / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01441, allocations: 0 / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.01491, allocations: 354.9 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01491, allocations: 0 / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.01496, allocations: 19.94 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01496, allocations: 0 / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01497, allocations: 0 / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01497, allocations: 384 / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01498, allocations: 4 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01526, allocations: 216.2 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.01528, allocations: 11.91 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.01531, allocations: 4 kB / 413.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.01539, allocations: 12.03 kB / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01542, allocations: 3.984 kB / 413.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01544, allocations: 4.375 kB / 413.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.01562, allocations: 176.2 kB / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01562, allocations: 0 / 413.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.0159, allocations: 27.94 kB / 413.9 MB, free: 12.14 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.002011/0.01791, allocations: 495.2 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01815, allocations: 63.89 kB / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.01815, allocations: 0 / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01825, allocations: 35.92 kB / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01865, allocations: 23.97 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.01934, allocations: 254.9 kB / 414.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.01947, allocations: 104.6 kB / 414.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.01952, allocations: 12.8 kB / 414.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.01958, allocations: 20.48 kB / 414.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.01958, allocations: 0 / 414.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Templates: time 0.006195/0.02577, allocations: 1.831 MB / 416.8 MB, free: 9.367 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.4059178084135056]