Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001384/0.001384, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001812/0.001812, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8291/0.8291, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1949/0.1949, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.636e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00204/0.002056, allocations: 1.739 MB / 300.9 MB, free: 380 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1284/0.1305, allocations: 0.8144 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1306, allocations: 1.094 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1309, allocations: 37.08 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1311, allocations: 68.86 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1314, allocations: 84.56 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1316, allocations: 98.16 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.1317, allocations: 11.25 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1318, allocations: 56.91 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1319, allocations: 29.84 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1319, allocations: 4.469 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1321, allocations: 64.67 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1322, allocations: 18.95 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1322, allocations: 19.97 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1325, allocations: 113.4 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1325, allocations: 0.75 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1325, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1325, allocations: 1.125 kB / 302.3 MB, free: 19.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003843/0.1329, allocations: 316.7 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1329, allocations: 10.31 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1329, allocations: 8.25 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1331, allocations: 142.5 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1331, allocations: 5 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1331, allocations: 8.469 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1333, allocations: 107.5 kB / 302.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1333, allocations: 5.594 kB / 302.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1333, allocations: 0.9375 kB / 302.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1333, allocations: 0.8125 kB / 302.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.1333, allocations: 13.52 kB / 302.9 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.1335, allocations: 173.9 kB / 303.1 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.1336, allocations: 91.05 kB / 303.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.1337, allocations: 12.88 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1337, allocations: 1.812 kB / 303.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.736e-05/0.1338, allocations: 73.7 kB / 303.2 MB, free: 18.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1338, allocations: 0 / 303.2 MB, free: 18.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003161/0.1341, allocations: 113.1 kB / 303.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1341, allocations: 83.42 kB / 303.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.1342, allocations: 150.9 kB / 303.6 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1342, allocations: 27.98 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.1342, allocations: 99.28 kB / 303.7 MB, free: 17.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1343, allocations: 29.5 kB / 303.7 MB, free: 17.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1343, allocations: 29.69 kB / 303.8 MB, free: 17.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.1343, allocations: 321.5 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.1343, allocations: 11.75 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.1344, allocations: 58.78 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.754e-05/0.1344, allocations: 46.47 kB / 304.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1344, allocations: 1.031 kB / 304.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.548e-05/0.1345, allocations: 75.69 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1345, allocations: 5.812 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1345, allocations: 1.781 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1345, allocations: 1.125 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.1346, allocations: 17.23 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1346, allocations: 1.594 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.1346, allocations: 9.031 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1346, allocations: 2.219 kB / 304.3 MB, free: 17.5 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 (11): * Single equations (assignments): 11 * 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.419e-05/0.1347, allocations: 123 kB / 304.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.1347, allocations: 16.89 kB / 304.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1349, allocations: 77.23 kB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1349, allocations: 1.125 kB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1349, allocations: 1.188 kB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1349, allocations: 2.672 kB / 304.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.1351, allocations: 299.9 kB / 304.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1351, allocations: 0.6094 kB / 304.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.1351, allocations: 10.89 kB / 304.8 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1351, allocations: 5.766 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1351, allocations: 3.703 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1351, allocations: 1 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1351, allocations: 5.016 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.1352, allocations: 219 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.1353, allocations: 19.83 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1353, allocations: 1.812 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.1353, allocations: 5.125 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1353, allocations: 10.84 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1354, allocations: 3 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.1354, allocations: 33.77 kB / 305.1 MB, free: 16.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1354, allocations: 4 kB / 305.1 MB, free: 16.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.1356, allocations: 37.56 kB / 305.2 MB, free: 16.87 MB / 282.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 (10): * Single equations (assignments): 8 * 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.001365/0.1369, allocations: 0.6383 MB / 305.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1371, allocations: 47.08 kB / 305.9 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1371, allocations: 1.188 kB / 305.9 MB, free: 16.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.1371, allocations: 27.23 kB / 305.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.1373, allocations: 33.69 kB / 305.9 MB, free: 16.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1376, allocations: 201.8 kB / 306.1 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.1377, allocations: 64.77 kB / 306.2 MB, free: 16.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.1377, allocations: 21.39 kB / 306.2 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1378, allocations: 76.11 kB / 306.3 MB, free: 16.19 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1378, allocations: 0 / 306.3 MB, free: 16.19 MB / 282.7 MB Notification: Performance of Templates: time 0.005104/0.1429, allocations: 2.409 MB / 308.7 MB, free: 15.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.0438756947405636]