Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008035/0.0008035, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001922, 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.001314/0.001314, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002501, 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.096/1.096, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09369/1.189, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2483/0.2483, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02458/0.2728, allocations: 13.1 MB / 291.3 MB, free: 7.359 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.917e-05, allocations: 3.078 kB / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003029/0.003048, allocations: 1.988 MB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.004958, allocations: 1.123 MB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.005055, allocations: 0 / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.005371, allocations: 159.3 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.00577, allocations: 199.1 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.006042, allocations: 123.5 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.006368, allocations: 247.3 kB / 296.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.006472, allocations: 26.53 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.00675, allocations: 188.8 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.006926, allocations: 115.7 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.00695, allocations: 8 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.007082, allocations: 67.92 kB / 296.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.007154, allocations: 39.86 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.007217, allocations: 39.81 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.007501, allocations: 179.2 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.007519, allocations: 0 / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007519, allocations: 0 / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.007536, allocations: 0 / 297.2 MB, free: 1.707 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007295/0.008266, allocations: 491.9 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/0.008346, allocations: 8.031 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.008402, allocations: 16.92 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.008659, allocations: 221.8 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.00868, allocations: 4.375 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.008704, allocations: 8.375 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.008878, allocations: 107.4 kB / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.008893, allocations: 7.938 kB / 298 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008904, allocations: 4 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.00891, allocations: 0 / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.008971, allocations: 29.62 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.009346, allocations: 300.8 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.009596, allocations: 190.6 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.009642, allocations: 33.89 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.009655, allocations: 4 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.009819, allocations: 105.4 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.00982, allocations: 4 kB / 298.7 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008348/0.01065, allocations: 312.1 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.0107, allocations: 85.11 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.01095, allocations: 292.6 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01098, allocations: 29.7 kB / 299.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.01103, allocations: 121.2 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.01109, allocations: 67.44 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.01115, allocations: 45.69 kB / 299.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01127, allocations: 346.7 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.01131, allocations: 22.83 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.01138, allocations: 58.03 kB / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.0115, allocations: 106.7 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.0115, allocations: 0 / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001802/0.01168, allocations: 137.5 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01169, allocations: 4 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.0117, allocations: 0 / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.01171, allocations: 4 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.01185, allocations: 51.91 kB / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01186, allocations: 0 / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.01193, allocations: 19.94 kB / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01194, allocations: 8.938 kB / 300.4 MB, free: 14.3 MB / 298.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.0001025/0.01204, allocations: 132.6 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.01208, allocations: 19.98 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.01232, allocations: 165.1 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.01233, allocations: 4 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01233, allocations: 0 / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01234, allocations: 0 / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.01286, allocations: 0.5516 MB / 301.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01287, allocations: 0 / 301.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01297, allocations: 47.92 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.013, allocations: 27.75 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.013, allocations: 4 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.01302, allocations: 11.98 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.01303, allocations: 0 / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01303, allocations: 4 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.0133, allocations: 415 kB / 301.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.01334, allocations: 16.11 kB / 301.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01347, allocations: 11.94 kB / 301.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01351, allocations: 19.97 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.01353, allocations: 11.98 kB / 301.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.01366, allocations: 115.5 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01366, allocations: 4 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.014, allocations: 47.94 kB / 302 MB, free: 12.63 MB / 298.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.002487/0.01649, allocations: 0.7231 MB / 302.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01667, allocations: 100.7 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.01669, allocations: 4 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.01676, allocations: 60.64 kB / 302.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.01722, allocations: 98.73 kB / 302.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.01804, allocations: 465.3 kB / 303.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.01816, allocations: 96.25 kB / 303.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.762e-05/0.01826, allocations: 29.94 kB / 303.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.01839, allocations: 103.4 kB / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0184, allocations: 0 / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of Templates: time 0.007135/0.02553, allocations: 3.667 MB / 307.3 MB, free: 7.695 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.008449331857264]