Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001114/0.001114, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001403/0.001403, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9785/0.9785, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2782/0.2782, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.661e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002549/0.002575, allocations: 1.941 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004004, allocations: 1.107 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004106, allocations: 3.938 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.004538, allocations: 255.2 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.004964, allocations: 243 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.00522, allocations: 123.5 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.005519, allocations: 275.2 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.005635, allocations: 21.95 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.00582, allocations: 155.6 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006, allocations: 191.6 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.006027, allocations: 16 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.006145, allocations: 67.84 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.006226, allocations: 71.69 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.006283, allocations: 47.8 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.006538, allocations: 199.2 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.006542, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006543, allocations: 3.938 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.006548, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 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.0005828/0.007131, allocations: 0.6156 MB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.007169, allocations: 8.031 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.007238, allocations: 52.69 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.007489, allocations: 234.9 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.007509, allocations: 4.375 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.007537, allocations: 8.375 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.007728, allocations: 117.6 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.00774, allocations: 3.938 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.007752, allocations: 8 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007759, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.495e-05/0.007824, allocations: 35.91 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.00832, allocations: 0.522 MB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.008592, allocations: 118.1 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.008646, allocations: 39.47 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.008667, allocations: 4 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.00885, allocations: 123.7 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.008851, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008705/0.009721, allocations: 484.4 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.009766, allocations: 85.05 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.01008, allocations: 430.8 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.01011, allocations: 33.69 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01022, allocations: 223.3 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.01027, allocations: 79.33 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.01033, allocations: 47.36 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.01049, allocations: 0.5274 MB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.01056, allocations: 35.97 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.01064, allocations: 86.66 kB / 386.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01077, allocations: 122.8 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01077, allocations: 0 / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000236/0.01101, allocations: 201.3 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01103, allocations: 6.031 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01103, allocations: 4 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01105, allocations: 0 / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01115, allocations: 51.91 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01116, allocations: 8 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.01121, allocations: 4 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.01122, allocations: 13.17 kB / 387.1 MB, free: 9.281 MB / 362.7 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.0001078/0.01133, allocations: 172.5 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.01137, allocations: 43.77 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.01174, allocations: 236.4 kB / 387.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01174, allocations: 4 kB / 387.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01175, allocations: 3.938 kB / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01175, allocations: 0 / 387.5 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.01241, allocations: 0.7684 MB / 388.3 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01241, allocations: 0 / 388.3 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.01247, allocations: 35.98 kB / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01248, allocations: 0 / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01249, allocations: 12 kB / 388.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01249, allocations: 7.875 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.0125, allocations: 4 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.01283, allocations: 0.5054 MB / 388.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01286, allocations: 39.77 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.01289, allocations: 8 kB / 388.9 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.01297, allocations: 7.984 kB / 388.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.01302, allocations: 23.91 kB / 389 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.01304, allocations: 8 kB / 389 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.01323, allocations: 303 kB / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01323, allocations: 0 / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01351, allocations: 55.92 kB / 389.3 MB, free: 6.949 MB / 362.7 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.001148/0.01465, allocations: 495.1 kB / 389.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.01489, allocations: 134.2 kB / 389.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0149, allocations: 0 / 389.9 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.01498, allocations: 75.89 kB / 390 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.0154, allocations: 73.81 kB / 390.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01612, allocations: 0.5244 MB / 390.6 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.0162, allocations: 100.3 kB / 390.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.01628, allocations: 41.92 kB / 390.7 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.01634, allocations: 28.5 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01634, allocations: 0 / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of Templates: time 0.005716/0.02206, allocations: 3.354 MB / 394.1 MB, free: 2.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.354745727032423]