Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001389/0.001389, allocations: 85.91 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.001486/0.001486, allocations: 164.8 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.4/1.4, allocations: 177.2 MB / 204.3 MB, free: 9.164 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.2011/0.2011, allocations: 32.81 MB / 293.5 MB, free: 20 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.825e-05/4.027e-05, allocations: 2.281 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003513/0.003553, allocations: 1.715 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.005501, allocations: 0.9704 MB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.005574, allocations: 7.938 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.005852, allocations: 35.83 kB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.006174, allocations: 99.41 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.006375, allocations: 83.59 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.006564, allocations: 111.6 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.006657, allocations: 4 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.006788, allocations: 55.83 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.006882, allocations: 31.91 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.006907, allocations: 4 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.007016, allocations: 43.97 kB / 443.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.007088, allocations: 23.86 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.007139, allocations: 15.94 kB / 443.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.007395, allocations: 131.5 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.0074, allocations: 0 / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007401, allocations: 0 / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.007408, allocations: 0 / 443.5 MB, free: 4.715 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006149/0.008023, allocations: 349.5 kB / 443.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.008062, allocations: 8.031 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.008116, allocations: 12.89 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.008366, allocations: 157.5 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.008384, allocations: 4.375 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.008405, allocations: 384 / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.008576, allocations: 58.17 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.008589, allocations: 3.938 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.008601, allocations: 7.984 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.008605, allocations: 0 / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.008704, allocations: 23.98 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.009054, allocations: 232.6 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.009238, allocations: 62.62 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.009298, allocations: 28.72 kB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.009312, allocations: 0 / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.009474, allocations: 67.39 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009475, allocations: 0 / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005755/0.01005, allocations: 193.3 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.01011, allocations: 51.41 kB / 444.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.01033, allocations: 211 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.01036, allocations: 33.7 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.01043, allocations: 108.1 kB / 445.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.01046, allocations: 27.78 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.01051, allocations: 21.72 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01068, allocations: 322.8 kB / 445.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.01074, allocations: 23.98 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.01082, allocations: 37.64 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01095, allocations: 69.62 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01095, allocations: 0 / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.01116, allocations: 109.5 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01118, allocations: 7.984 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01118, allocations: 4 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.0112, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.01129, allocations: 16 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01129, allocations: 0 / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.01134, allocations: 4 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01135, allocations: 7.984 kB / 445.7 MB, free: 2.312 MB / 366.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.0001164/0.01147, allocations: 130.4 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.01149, allocations: 15.98 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.01176, allocations: 119.1 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01176, allocations: 0 / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01176, allocations: 4 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01177, allocations: 0 / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.01227, allocations: 351.2 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01227, allocations: 0 / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.01232, allocations: 16.31 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01232, allocations: 3.938 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01233, allocations: 8.031 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.01233, allocations: 8 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01234, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.01262, allocations: 224.1 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.01264, allocations: 7.953 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01267, allocations: 0 / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.01275, allocations: 8 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.01279, allocations: 7.984 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.0128, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.01296, allocations: 167.2 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01296, allocations: 4 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.01322, allocations: 27.94 kB / 446.8 MB, free: 1.16 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: 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.001799/0.01502, allocations: 494.7 kB / 447.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.01522, allocations: 63.91 kB / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01522, allocations: 0 / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.01531, allocations: 31.92 kB / 447.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.01566, allocations: 34.91 kB / 447.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.01616, allocations: 238.1 kB / 447.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.01628, allocations: 100.8 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.01633, allocations: 13.11 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.01638, allocations: 20.48 kB / 447.8 MB, free: 348 kB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01638, allocations: 0 / 447.8 MB, free: 348 kB / 366.1 MB Notification: Performance of Templates: time 0.1668/0.1832, allocations: 1.854 MB / 449.6 MB, free: 21.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.550797786563635]