Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.000948/0.000948, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009546/0.0009546, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8755/0.8755, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1272/0.1272, allocations: 32.37 MB / 270.3 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 408.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.373e-05, allocations: 2.281 kB / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002208/0.002232, allocations: 1.887 MB / 410.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.003149, allocations: 0.8037 MB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.003233, allocations: 3.938 kB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.003519, allocations: 43.7 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.003708, allocations: 67.56 kB / 411 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.003895, allocations: 107.6 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.004065, allocations: 143.5 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.004168, allocations: 21.69 kB / 411.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.004258, allocations: 79.73 kB / 411.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.004344, allocations: 31.91 kB / 411.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.004363, allocations: 8 kB / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.004437, allocations: 43.91 kB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.004493, allocations: 27.86 kB / 411.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.004541, allocations: 35.84 kB / 411.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004743, allocations: 147.5 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004744, allocations: 3.938 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004745, allocations: 0 / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004749, allocations: 0 / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000478/0.005227, allocations: 407.1 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.005263, allocations: 8.031 kB / 412 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.005311, allocations: 24.83 kB / 412 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.005489, allocations: 149.6 kB / 412.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005502, allocations: 12.31 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.005523, allocations: 12.36 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.005695, allocations: 142.3 kB / 412.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005703, allocations: 3.938 kB / 412.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005715, allocations: 4 kB / 412.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.00572, allocations: 4 kB / 412.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.005806, allocations: 47.91 kB / 412.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.006186, allocations: 444.7 kB / 412.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.006405, allocations: 94.59 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.006456, allocations: 36.83 kB / 413 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.006468, allocations: 4 kB / 413 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.006601, allocations: 105.1 kB / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.006602, allocations: 0 / 413.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.006855, allocations: 149.5 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.006884, allocations: 59.34 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.007008, allocations: 191.6 kB / 413.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.00702, allocations: 25.7 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.007085, allocations: 124 kB / 413.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.007106, allocations: 31.73 kB / 413.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.007139, allocations: 25.72 kB / 413.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.007221, allocations: 330.8 kB / 414 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.007277, allocations: 27.97 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.007334, allocations: 68.28 kB / 414.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.007445, allocations: 108.5 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.007449, allocations: 4 kB / 414.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001511/0.0076, allocations: 133.4 kB / 414.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007611, allocations: 4 kB / 414.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007617, allocations: 8.125 kB / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.007628, allocations: 0 / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.007687, allocations: 31.92 kB / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007691, allocations: 0 / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.007726, allocations: 15.94 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007732, allocations: 4 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.171e-05/0.007804, allocations: 133.7 kB / 414.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.007818, allocations: 15.91 kB / 414.5 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.007985, allocations: 131.1 kB / 414.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007987, allocations: 4 kB / 414.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.007994, allocations: 11.94 kB / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007997, allocations: 0 / 414.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.249e-05/0.00809, allocations: 145.2 kB / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008091, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.008133, allocations: 12 kB / 414.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.008135, allocations: 0 / 414.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.008144, allocations: 7.984 kB / 414.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008145, allocations: 0 / 414.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008146, allocations: 0 / 414.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.008368, allocations: 201 kB / 415 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.008382, allocations: 15.92 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008397, allocations: 4 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.008424, allocations: 4 kB / 415.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.008455, allocations: 7.984 kB / 415.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.008467, allocations: 7.938 kB / 415.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.008544, allocations: 149.1 kB / 415.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008544, allocations: 0 / 415.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.008696, allocations: 31.92 kB / 415.3 MB, free: 10.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006495/0.009345, allocations: 443.2 kB / 415.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.009501, allocations: 83.83 kB / 415.8 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009502, allocations: 0 / 415.8 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.009558, allocations: 39.92 kB / 415.8 MB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.009747, allocations: 39.89 kB / 415.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01016, allocations: 288 kB / 416.1 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.01023, allocations: 102.8 kB / 416.2 MB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01026, allocations: 16.5 kB / 416.2 MB, free: 9.215 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01026, allocations: 0 / 416.2 MB, free: 9.215 MB / 394.7 MB Notification: Performance of Templates: time 0.002739/0.013, allocations: 2.235 MB / 418.5 MB, free: 6.973 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.76443044655025]