Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001362/0.001362, allocations: 84.92 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.001508/0.001508, allocations: 165.1 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.504/1.504, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2171/0.2171, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.971e-05, allocations: 10.28 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003675/0.003704, allocations: 1.746 MB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.005714, allocations: 0.9665 MB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005836, allocations: 4 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.006214, allocations: 103.6 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.006685, allocations: 139.4 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.006989, allocations: 79.66 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.007257, allocations: 127.6 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.00738, allocations: 11.97 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.007557, allocations: 63.83 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.007702, allocations: 63.84 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.007728, allocations: 4 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.007891, allocations: 63.91 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.007968, allocations: 31.86 kB / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.008025, allocations: 19.92 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.008345, allocations: 155.4 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008348, allocations: 0 / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008349, allocations: 0 / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.00836, allocations: 3.938 kB / 446.3 MB, free: 1.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006911/0.009051, allocations: 373.3 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.009094, allocations: 8.031 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.009162, allocations: 16.84 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.009446, allocations: 161.2 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.009459, allocations: 4.375 kB / 446.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.009489, allocations: 4.375 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.009692, allocations: 70.16 kB / 447 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.009708, allocations: 7.938 kB / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.009721, allocations: 0 / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.009725, allocations: 0 / 447 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.009817, allocations: 19.98 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.01031, allocations: 252.5 kB / 447.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.0106, allocations: 70.42 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.01067, allocations: 20.97 kB / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.01069, allocations: 0 / 447.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.01086, allocations: 71.39 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.01086, allocations: 0 / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009773/0.01184, allocations: 261.7 kB / 447.7 MB, free: 288 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.01188, allocations: 51.41 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2106/0.2224, allocations: 250.4 kB / 447.9 MB, free: 19.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.2225, allocations: 29.38 kB / 448 MB, free: 19.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2225, allocations: 118.9 kB / 448.1 MB, free: 19.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.2226, allocations: 34.39 kB / 448.1 MB, free: 19.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.2226, allocations: 28.3 kB / 448.2 MB, free: 19.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2227, allocations: 333.8 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.2228, allocations: 26.53 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/0.2229, allocations: 49.31 kB / 448.6 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.223, allocations: 82.27 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.223, allocations: 2.531 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002587/0.2233, allocations: 136.3 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2233, allocations: 5.75 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2233, allocations: 1.094 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2233, allocations: 1.797 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.2234, allocations: 18.95 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2234, allocations: 5.609 kB / 448.8 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.2235, allocations: 6.859 kB / 448.8 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2235, allocations: 7.422 kB / 448.8 MB, free: 18.86 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 (13): * Single equations (assignments): 13 * 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 9.901e-05/0.2236, allocations: 137.9 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.2236, allocations: 15.62 kB / 449 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.224, allocations: 156.1 kB / 449.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.224, allocations: 8.531 kB / 449.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.224, allocations: 1.875 kB / 449.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.224, allocations: 2.922 kB / 449.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.2245, allocations: 403.5 kB / 449.5 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2245, allocations: 1.094 kB / 449.5 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.2246, allocations: 19 kB / 449.5 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2246, allocations: 2.234 kB / 449.5 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2246, allocations: 6.109 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2246, allocations: 2.594 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2246, allocations: 0 / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2249, allocations: 250.5 kB / 449.8 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.2249, allocations: 14.73 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.2249, allocations: 2.891 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.225, allocations: 10.56 kB / 449.8 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2251, allocations: 12.8 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.2251, allocations: 4.438 kB / 449.8 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.2252, allocations: 201.2 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2252, allocations: 0 / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.2256, allocations: 31.39 kB / 450.1 MB, free: 18.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002533/0.2281, allocations: 0.5483 MB / 450.6 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.2284, allocations: 74.88 kB / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2284, allocations: 0 / 450.7 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2285, allocations: 39.41 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.229, allocations: 34.47 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.2297, allocations: 309.8 kB / 451.1 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2298, allocations: 107.3 kB / 451.2 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.2299, allocations: 22.73 kB / 451.2 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2299, allocations: 24.36 kB / 451.2 MB, free: 17.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2299, allocations: 0 / 451.2 MB, free: 17.58 MB / 366.1 MB Notification: Performance of Templates: time 0.006665/0.2366, allocations: 2.095 MB / 453.3 MB, free: 17.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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: 5.065867617726326]