Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001611/0.001611, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.00169/0.00169, allocations: 163.6 kB / 23.96 MB, free: 4.164 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.435/1.435, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.1984/0.1984, allocations: 32.82 MB / 293.5 MB, free: 40 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.408e-05, allocations: 6.219 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003137/0.003161, allocations: 1.871 MB / 442.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005276, allocations: 1.084 MB / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.005371, allocations: 0 / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.005824, allocations: 159.4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.006288, allocations: 187.2 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.006569, allocations: 123.5 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.006911, allocations: 247.2 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.007042, allocations: 25.94 kB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.007251, allocations: 135.6 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.007452, allocations: 123.7 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.007484, allocations: 8 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.007624, allocations: 67.91 kB / 444.2 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.007729, allocations: 59.77 kB / 444.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.007805, allocations: 51.78 kB / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.008128, allocations: 219.2 kB / 444.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.008133, allocations: 4 kB / 444.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008135, allocations: 0 / 444.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.00814, allocations: 0 / 444.5 MB, free: 3.707 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007885/0.008928, allocations: 480.5 kB / 445 MB, free: 3.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.008963, allocations: 12.02 kB / 445 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.009038, allocations: 28.75 kB / 445 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.009363, allocations: 213.8 kB / 445.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.009381, allocations: 8.375 kB / 445.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.009408, allocations: 12.31 kB / 445.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.009654, allocations: 115.2 kB / 445.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.009669, allocations: 3.938 kB / 445.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.009685, allocations: 4 kB / 445.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.00969, allocations: 4 kB / 445.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.009831, allocations: 51.95 kB / 445.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.0104, allocations: 404.4 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.0108, allocations: 125.2 kB / 446 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.01091, allocations: 41.83 kB / 446 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.01092, allocations: 3.984 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.01117, allocations: 125.1 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.01117, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.01254, allocations: 0.4938 MB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.01261, allocations: 89.03 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.01303, allocations: 384.5 kB / 447.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.01305, allocations: 29.7 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.01317, allocations: 148.5 kB / 447.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.01325, allocations: 75.42 kB / 447.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.01331, allocations: 41.7 kB / 447.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01349, allocations: 342.8 kB / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.01363, allocations: 59.97 kB / 447.8 MB, free: 276 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01381, allocations: 92.72 kB / 447.9 MB, free: 172 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1856/0.1994, allocations: 169.6 kB / 448 MB, free: 21.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1994, allocations: 0.7812 kB / 448 MB, free: 21.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005178/0.2, allocations: 235.3 kB / 448.2 MB, free: 21.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2, allocations: 6.594 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2, allocations: 3.688 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2, allocations: 2.406 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2002, allocations: 50.97 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2002, allocations: 4.906 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2003, allocations: 9.531 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2003, allocations: 7.703 kB / 448.3 MB, free: 21.28 MB / 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001495/0.2004, allocations: 163.8 kB / 448.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.2005, allocations: 28.95 kB / 448.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.201, allocations: 277.4 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.201, allocations: 5.781 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.201, allocations: 1.312 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.201, allocations: 2.5 kB / 448.8 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.2019, allocations: 0.6613 MB / 449.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2019, allocations: 2.25 kB / 449.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.202, allocations: 36.98 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.202, allocations: 9.594 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.202, allocations: 5.984 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.202, allocations: 2.625 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.202, allocations: 3.078 kB / 449.5 MB, free: 20.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.2025, allocations: 437.9 kB / 449.9 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2025, allocations: 30.77 kB / 450 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.2025, allocations: 10.2 kB / 450 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.2027, allocations: 17.8 kB / 450 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.2027, allocations: 20.41 kB / 450 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.2028, allocations: 13.97 kB / 450 MB, free: 20.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.203, allocations: 287 kB / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.203, allocations: 0 / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.2034, allocations: 53.97 kB / 450.4 MB, free: 20.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002003/0.2054, allocations: 0.5517 MB / 450.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.2057, allocations: 150.9 kB / 451.1 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2057, allocations: 7.828 kB / 451.1 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2059, allocations: 80.12 kB / 451.2 MB, free: 20.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.2065, allocations: 72.25 kB / 451.2 MB, free: 20.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.2072, allocations: 0.5016 MB / 451.7 MB, free: 19.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2074, allocations: 153.1 kB / 451.9 MB, free: 19.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.2075, allocations: 37.75 kB / 451.9 MB, free: 19.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.2075, allocations: 34.38 kB / 451.9 MB, free: 19.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2075, allocations: 3.938 kB / 452 MB, free: 19.65 MB / 366.1 MB Notification: Performance of Templates: time 0.007032/0.2146, allocations: 3.302 MB / 455.3 MB, free: 19.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.66854353249073]