Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001052/0.001052, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001857/0.002909, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001058/0.001058, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002423, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09474/1.145, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2479/0.2479, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02516/0.2731, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.001e-05, allocations: 5.328 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002005/0.002025, allocations: 1.815 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003127, allocations: 1.018 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.003187, allocations: 3.938 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.003348, allocations: 31.78 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.003538, allocations: 103.4 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.003685, allocations: 79.66 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003815, allocations: 107.6 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.96e-05/0.003884, allocations: 11.98 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.003991, allocations: 79.81 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.004061, allocations: 23.91 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.004075, allocations: 7.938 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.004147, allocations: 47.86 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.004183, allocations: 15.94 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.004213, allocations: 15.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.004356, allocations: 95.67 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.004369, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00437, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.004384, allocations: 4 kB / 296.2 MB, free: 2.75 MB / 282.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.0003943/0.004778, allocations: 337 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.004805, allocations: 8.031 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.004835, allocations: 16.92 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005, allocations: 146.2 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.005016, allocations: 4.375 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.005032, allocations: 4.375 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.005126, allocations: 65.75 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.005138, allocations: 7.938 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.005144, allocations: 0 / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005149, allocations: 0 / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.005175, allocations: 8 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.005357, allocations: 165.9 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.005436, allocations: 85.23 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.005456, allocations: 16.92 kB / 297 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.005466, allocations: 8 kB / 297 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/0.005553, allocations: 70.12 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005554, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002604/0.005815, allocations: 105.5 kB / 297.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.005844, allocations: 59.39 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.005979, allocations: 177.3 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.005994, allocations: 29.7 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.006026, allocations: 100.1 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.006047, allocations: 19.84 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.006078, allocations: 21.7 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.006151, allocations: 330.8 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.006171, allocations: 14.77 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.006196, allocations: 17.72 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.00625, allocations: 48.5 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006251, allocations: 0 / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.044e-05/0.006342, allocations: 76.44 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006355, allocations: 5.719 kB / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.00636, allocations: 3.938 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006371, allocations: 7.984 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.006449, allocations: 20.02 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.006453, allocations: 3.938 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.006486, allocations: 4 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006493, allocations: 4 kB / 298.1 MB, free: 0.6211 MB / 282.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 6.614e-05/0.006559, allocations: 116.6 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.006574, allocations: 19.92 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.006671, allocations: 71.08 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.006673, allocations: 3.984 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006674, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006678, allocations: 4 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.00693, allocations: 299.4 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.006933, allocations: 0 / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.006974, allocations: 12 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.006989, allocations: 11.94 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006991, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007, allocations: 4.375 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.007002, allocations: 0 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.007003, allocations: 0 / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.007152, allocations: 223 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.007173, allocations: 4 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.007239, allocations: 8.016 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.007267, allocations: 8 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.007281, allocations: 7.984 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.007334, allocations: 43.64 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007334, allocations: 0 / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.007567, allocations: 27.98 kB / 299 MB, free: 15.71 MB / 298.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.001738/0.009304, allocations: 0.6365 MB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.009399, allocations: 48.72 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.009405, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/0.009433, allocations: 32.92 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.009645, allocations: 47.09 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.01009, allocations: 223.9 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.01013, allocations: 67.33 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01016, allocations: 12.98 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.01022, allocations: 67.36 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01022, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.003393/0.01362, allocations: 2.049 MB / 302.1 MB, free: 12.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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: 2.8557106414809823]