Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001037/0.001037, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001935/0.001935, allocations: 165.4 kB / 25.61 MB, free: 8.582 MB / 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 1.016/1.016, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.1507/0.1507, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.337e-05, allocations: 2.312 kB / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.005375/0.005399, allocations: 1.75 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.006565, allocations: 0.9936 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.006634, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.006898, allocations: 39.77 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.007138, allocations: 103.4 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.007284, allocations: 79.59 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.00742, allocations: 119.6 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.007497, allocations: 4 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.007572, allocations: 51.83 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.007641, allocations: 27.91 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.007656, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.007731, allocations: 43.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003055/0.01079, allocations: 23.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.01082, allocations: 23.86 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.01098, allocations: 107.6 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01098, allocations: 0 / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01098, allocations: 4 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.01098, allocations: 0 / 380.7 MB, free: 22.13 MB / 314.7 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.0003321/0.01131, allocations: 451.8 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01135, allocations: 15.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.01138, allocations: 12.84 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.01151, allocations: 156.3 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.01152, allocations: 4.375 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.01154, allocations: 384 / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.01163, allocations: 66.88 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01163, allocations: 3.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.01164, allocations: 4 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01165, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.01167, allocations: 15.98 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.01188, allocations: 256.4 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.01196, allocations: 55.09 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.01199, allocations: 19.67 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.012, allocations: 0 / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/0.01207, allocations: 64.98 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01207, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002941/0.01237, allocations: 137.5 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.01239, allocations: 55.41 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.01249, allocations: 246.2 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.0125, allocations: 25.7 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.01253, allocations: 162.8 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.01256, allocations: 19.84 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.01259, allocations: 27.36 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.01264, allocations: 0.5001 MB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.01266, allocations: 11.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.01269, allocations: 35.34 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.01273, allocations: 43.38 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01273, allocations: 0 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.01283, allocations: 93.45 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.01284, allocations: 4 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01285, allocations: 3.984 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.01286, allocations: 4 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.01292, allocations: 12 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.01292, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.01295, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.01296, allocations: 7.969 kB / 383.2 MB, free: 19.43 MB / 314.7 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 4.946e-05/0.01301, allocations: 164.6 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.01303, allocations: 15.89 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.01316, allocations: 111.1 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01316, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01316, allocations: 4 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01316, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.01339, allocations: 365.9 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01339, allocations: 4 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.01342, allocations: 20.02 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01342, allocations: 3.984 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.01343, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01343, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01343, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.01353, allocations: 251.4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003017/0.01655, allocations: 7.953 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.01657, allocations: 8 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.01663, allocations: 3.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.01666, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01667, allocations: 7.984 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.01673, allocations: 172.2 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01673, allocations: 0 / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.01697, allocations: 24 kB / 384.3 MB, free: 18.21 MB / 314.7 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.001023/0.01799, allocations: 445.7 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.01809, allocations: 43.55 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01809, allocations: 0 / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.01813, allocations: 27.67 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.01841, allocations: 45.72 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.01871, allocations: 231.7 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.01874, allocations: 75.19 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.01877, allocations: 12.97 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.01883, allocations: 94.19 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01883, allocations: 3.938 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of Templates: time 0.006503/0.02534, allocations: 2.056 MB / 387.4 MB, free: 15.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.3348328820429742]