Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001213/0.001213, allocations: 82.16 kB / 20.68 MB, free: 1.039 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.001357/0.001357, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 440.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.145e-05, allocations: 2.281 kB / 440.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003899/0.00393, allocations: 1.781 MB / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.007126, allocations: 1.746 MB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.007258, allocations: 3.938 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.007605, allocations: 59.56 kB / 443.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.008172, allocations: 143.2 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.00851, allocations: 103.6 kB / 444 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.008871, allocations: 211.3 kB / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.008952, allocations: 5.812 kB / 444.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.009202, allocations: 115.6 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.00941, allocations: 62.77 kB / 444.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.009459, allocations: 8 kB / 444.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.009703, allocations: 115.8 kB / 444.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.00979, allocations: 35.84 kB / 444.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.009872, allocations: 35.86 kB / 444.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.01032, allocations: 239.1 kB / 444.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01033, allocations: 4 kB / 444.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01033, allocations: 4 kB / 444.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.01034, allocations: 0 / 444.8 MB, free: 3.43 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007386/0.01108, allocations: 421 kB / 445.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01111, allocations: 12.03 kB / 445.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.01118, allocations: 20.8 kB / 445.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.01151, allocations: 189.4 kB / 445.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.01153, allocations: 12.3 kB / 445.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.01155, allocations: 4.375 kB / 445.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.01182, allocations: 157 kB / 445.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01183, allocations: 3.938 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.01184, allocations: 0 / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01185, allocations: 4 kB / 445.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.01198, allocations: 35.91 kB / 445.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.01221, allocations: 154.2 kB / 445.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.01251, allocations: 105.2 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.01261, allocations: 41.7 kB / 446 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.01262, allocations: 7.938 kB / 446 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.01286, allocations: 113.1 kB / 446.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/0.01287, allocations: 0 / 446.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005499/0.01342, allocations: 185.4 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.01351, allocations: 128.5 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.01384, allocations: 248.1 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.01387, allocations: 29.7 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.01395, allocations: 120.1 kB / 446.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.014, allocations: 31.77 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.01406, allocations: 29.72 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01422, allocations: 334.8 kB / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.01431, allocations: 27.98 kB / 447.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.01447, allocations: 124.5 kB / 447.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01468, allocations: 99.34 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01468, allocations: 0 / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003047/0.01499, allocations: 141.5 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.015, allocations: 4 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01501, allocations: 8.547 kB / 447.5 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01503, allocations: 4 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.01514, allocations: 19.94 kB / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01515, allocations: 0 / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.01524, allocations: 19.92 kB / 447.6 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01526, allocations: 8 kB / 447.6 MB, free: 368 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001265/0.01538, allocations: 139.1 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.01543, allocations: 19.86 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.01579, allocations: 166.7 kB / 447.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.0158, allocations: 3.938 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.0158, allocations: 0 / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0158, allocations: 4 kB / 447.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1727/0.1885, allocations: 159.3 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1885, allocations: 0 / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.1886, allocations: 10.84 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.1886, allocations: 1.938 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1886, allocations: 3.562 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1886, allocations: 6.797 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1886, allocations: 1.156 kB / 448.1 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.189, allocations: 185.7 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.189, allocations: 23.05 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.189, allocations: 6.719 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.1891, allocations: 8.578 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1892, allocations: 12.06 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1892, allocations: 6.875 kB / 448.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.1893, allocations: 185.1 kB / 448.5 MB, free: 21.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 3.062 kB / 448.5 MB, free: 21.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.1897, allocations: 52.78 kB / 448.6 MB, free: 21.31 MB / 366.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001816/0.1915, allocations: 0.5349 MB / 449.1 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1917, allocations: 82.86 kB / 449.2 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1917, allocations: 2.344 kB / 449.2 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1919, allocations: 46.61 kB / 449.2 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1922, allocations: 57.95 kB / 449.3 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.1928, allocations: 294.4 kB / 449.6 MB, free: 21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.1929, allocations: 107.3 kB / 449.7 MB, free: 20.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.852e-05/0.193, allocations: 38.08 kB / 449.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.193, allocations: 32.33 kB / 449.8 MB, free: 20.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.193, allocations: 1.641 kB / 449.8 MB, free: 20.9 MB / 366.1 MB Notification: Performance of Templates: time 0.007261/0.2003, allocations: 3.409 MB / 453.2 MB, free: 20.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.693683318793774]