Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001383/0.001383, allocations: 84.61 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.002887/0.002887, allocations: 164.7 kB / 23.95 MB, free: 4.168 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.483/1.483, 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.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.2313/0.2313, 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 3.938 kB / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.804e-05, allocations: 2.281 kB / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00339/0.003418, allocations: 1.723 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.005472, allocations: 0.9704 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.005566, allocations: 7.938 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.005896, allocations: 35.83 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.00626, allocations: 95.53 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.006475, allocations: 83.48 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.006739, allocations: 107.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.006843, allocations: 4 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.006966, allocations: 59.81 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.007058, allocations: 23.92 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.007083, allocations: 4 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.007197, allocations: 43.97 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.00727, allocations: 27.92 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.007324, allocations: 19.92 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.007588, allocations: 119.5 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.007593, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007594, allocations: 0 / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.007603, allocations: 4 kB / 446.1 MB, free: 1.98 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.0006341/0.008237, allocations: 341.5 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.008272, allocations: 8.031 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.008332, allocations: 16.84 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.00856, allocations: 146.3 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.008575, allocations: 8.375 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.008595, allocations: 4.312 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.008883, allocations: 66.16 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.008898, allocations: 3.938 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.008907, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008912, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.008994, allocations: 27.97 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.009464, allocations: 232.5 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.009649, allocations: 66.55 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.009713, allocations: 24.8 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.009727, allocations: 0 / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.009893, allocations: 71.38 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.009895, allocations: 0 / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006278/0.01052, allocations: 189.5 kB / 447.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.01066, allocations: 51.41 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.0109, allocations: 202.2 kB / 447.5 MB, free: 420 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01093, allocations: 29.7 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.01101, allocations: 104.1 kB / 447.6 MB, free: 276 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01104, allocations: 27.8 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.01109, allocations: 25.7 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2177/0.2288, allocations: 324.4 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2289, allocations: 14.88 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.229, allocations: 37.31 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.2292, allocations: 64.36 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2292, allocations: 1.219 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002441/0.2294, allocations: 105.1 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2294, allocations: 8.25 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2294, allocations: 0 / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2295, allocations: 1.844 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2296, allocations: 19.11 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2296, allocations: 5.609 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.2296, allocations: 9.719 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2296, allocations: 3 kB / 448.3 MB, free: 19.01 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 9.452e-05/0.2297, allocations: 126.5 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.2298, allocations: 10.39 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.23, allocations: 121.4 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.23, allocations: 1.25 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.23, allocations: 4.969 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.23, allocations: 0.6562 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.2305, allocations: 353.5 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2305, allocations: 1.672 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.2305, allocations: 13.66 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2305, allocations: 1.062 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2305, allocations: 7.312 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2305, allocations: 3.688 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2305, allocations: 1.062 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.2308, allocations: 212.2 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.2308, allocations: 12.92 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2308, allocations: 13.7 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.2309, allocations: 3.094 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2309, allocations: 6.828 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.2309, allocations: 4.609 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2311, allocations: 152 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2311, allocations: 1.062 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.2313, allocations: 25.83 kB / 449.3 MB, free: 18.39 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.001844/0.2332, allocations: 497.8 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.2334, allocations: 61.45 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2334, allocations: 3.938 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2335, allocations: 32.38 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2339, allocations: 35.59 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.2343, allocations: 239 kB / 450.2 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.801e-05/0.2344, allocations: 89.75 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.961e-05/0.2345, allocations: 21.5 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2345, allocations: 16.12 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2345, allocations: 0 / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005452/0.24, allocations: 1.842 MB / 452.1 MB, free: 17.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.130107000470161]