Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001722/0.001722, allocations: 73.09 kB / 19.93 MB, free: 1.773 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.001999/0.001999, allocations: 169.3 kB / 23.22 MB, free: 4.883 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.62/1.62, 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.2422/0.2422, allocations: 32.38 MB / 269.6 MB, free: 4.754 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 3.938 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.568e-05/4.897e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003644/0.003693, allocations: 1.635 MB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.005346, allocations: 0.7646 MB / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.005429, allocations: 0 / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.005858, allocations: 51.8 kB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.006147, allocations: 63.69 kB / 410 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.006425, allocations: 87.64 kB / 410 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.006643, allocations: 99.62 kB / 410.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.006698, allocations: 7.922 kB / 410.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.00682, allocations: 51.78 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.006942, allocations: 43.88 kB / 410.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.006968, allocations: 4 kB / 410.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.007069, allocations: 31.94 kB / 410.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.007137, allocations: 15.92 kB / 410.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.007188, allocations: 15.94 kB / 410.3 MB, free: 44 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.007437, allocations: 99.69 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.00744, allocations: 0 / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.007442, allocations: 0 / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.007449, allocations: 0 / 410.4 MB, free: 15.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006433/0.008092, allocations: 325.7 kB / 410.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008134, allocations: 8.031 kB / 410.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.008181, allocations: 8.891 kB / 410.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.008481, allocations: 150.3 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.008503, allocations: 8.312 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.008523, allocations: 384 / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.008685, allocations: 54.23 kB / 410.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.008699, allocations: 3.938 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.008709, allocations: 0 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.008715, allocations: 0 / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.008795, allocations: 23.97 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.009004, allocations: 121.3 kB / 411.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.009198, allocations: 58.55 kB / 411.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.009262, allocations: 20.84 kB / 411.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.009279, allocations: 4 kB / 411.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.009438, allocations: 63.39 kB / 411.2 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.009439, allocations: 0 / 411.2 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003294/0.009769, allocations: 105.6 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.009818, allocations: 55.34 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.01002, allocations: 180.1 kB / 411.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.01004, allocations: 25.7 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.01011, allocations: 96.14 kB / 411.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.01016, allocations: 15.94 kB / 411.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.0102, allocations: 17.72 kB / 411.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01036, allocations: 326.8 kB / 412 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.01041, allocations: 15.98 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.123e-05/0.01047, allocations: 25.72 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.01059, allocations: 45.7 kB / 412.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01059, allocations: 0 / 412.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001921/0.01078, allocations: 89.52 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.0108, allocations: 8 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01081, allocations: 7.875 kB / 412.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01083, allocations: 4.031 kB / 412.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.01091, allocations: 8 kB / 412.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.01091, allocations: 3.938 kB / 412.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.01096, allocations: 11.92 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01097, allocations: 4 kB / 412.3 MB, free: 13.91 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 (7): * Single equations (assignments): 7 * 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.0001126/0.01108, allocations: 117.8 kB / 412.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.01111, allocations: 7.953 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.01133, allocations: 102 kB / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01134, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01135, allocations: 0 / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01135, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.0115, allocations: 129.2 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0115, allocations: 4.375 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.01153, allocations: 4 kB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.01153, allocations: 3.938 kB / 412.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01154, allocations: 7.984 kB / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01155, allocations: 3.938 kB / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01155, allocations: 0 / 412.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.01176, allocations: 113.1 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.01178, allocations: 11.95 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.0118, allocations: 4 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.01185, allocations: 3.938 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.0119, allocations: 7.984 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01191, allocations: 0 / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.01204, allocations: 143.8 kB / 412.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01204, allocations: 0 / 412.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.01226, allocations: 23.92 kB / 412.9 MB, free: 13.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001676/0.01393, allocations: 433.8 kB / 413.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01412, allocations: 43.98 kB / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01412, allocations: 0 / 413.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.01419, allocations: 23.92 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01448, allocations: 31.95 kB / 413.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.01497, allocations: 189.2 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.01507, allocations: 87.66 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01512, allocations: 12.55 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.01516, allocations: 20.5 kB / 413.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01516, allocations: 0 / 413.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Templates: time 0.005418/0.02058, allocations: 1.593 MB / 415.4 MB, free: 10.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.378743518143892]