Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001537/0.001537, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001908/0.001908, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.387/1.387, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.53e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002709/0.002735, allocations: 1.595 MB / 441.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003821, allocations: 0.5531 MB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.003877, allocations: 0 / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.004077, allocations: 19.86 kB / 442.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.004365, allocations: 83.55 kB / 442.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.004668, allocations: 118.2 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.004837, allocations: 71.77 kB / 442.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.004924, allocations: 11.98 kB / 442.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.004999, allocations: 39.91 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.005072, allocations: 27.84 kB / 442.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.005092, allocations: 4 kB / 442.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.005261, allocations: 95.81 kB / 442.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.005311, allocations: 15.92 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.00535, allocations: 19.92 kB / 442.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.005629, allocations: 147.5 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005631, allocations: 0 / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005632, allocations: 0 / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.005641, allocations: 4 kB / 442.9 MB, free: 5.328 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005045/0.006145, allocations: 333.6 kB / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006185, allocations: 12.03 kB / 443.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.006228, allocations: 12.89 kB / 443.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.00643, allocations: 137.6 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.006437, allocations: 4.375 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.006462, allocations: 4.375 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006642, allocations: 85.67 kB / 443.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006654, allocations: 4.172 kB / 443.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006665, allocations: 4.125 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.006672, allocations: 4 kB / 443.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.00677, allocations: 27.92 kB / 443.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.007181, allocations: 228.6 kB / 443.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.007303, allocations: 50.55 kB / 443.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.007363, allocations: 20.94 kB / 443.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.007382, allocations: 0 / 443.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.007421, allocations: 46.44 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.007422, allocations: 0 / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006385/0.00806, allocations: 185.3 kB / 444 MB, free: 4.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.008118, allocations: 77.11 kB / 444.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.008318, allocations: 148.3 kB / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.008338, allocations: 29.7 kB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.0084, allocations: 104 kB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.008423, allocations: 19.8 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.00847, allocations: 25.7 kB / 444.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.008622, allocations: 314.8 kB / 444.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.008715, allocations: 35.97 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.008828, allocations: 75.45 kB / 444.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.009003, allocations: 68.81 kB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.009008, allocations: 3.938 kB / 444.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.009244, allocations: 113.8 kB / 445 MB, free: 2.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.009256, allocations: 4 kB / 445 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.00926, allocations: 0 / 445 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.009273, allocations: 4.031 kB / 445 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.009376, allocations: 23.92 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009381, allocations: 0 / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.009435, allocations: 11.98 kB / 445.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.009444, allocations: 3.984 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001074/0.009551, allocations: 122.4 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.009588, allocations: 7.953 kB / 445.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.00988, allocations: 110.4 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009882, allocations: 4 kB / 445.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009886, allocations: 4 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.009898, allocations: 0 / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.01041, allocations: 338 kB / 445.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01041, allocations: 0 / 445.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.01048, allocations: 15.98 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.01048, allocations: 4 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01049, allocations: 4 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01049, allocations: 0 / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01049, allocations: 4 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.01077, allocations: 195.8 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01079, allocations: 7.953 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.01081, allocations: 7.922 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.01089, allocations: 8 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.01093, allocations: 3.984 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01093, allocations: 4 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.01104, allocations: 111.3 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01104, allocations: 3.938 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.01133, allocations: 47.8 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001843/0.01317, allocations: 0.5389 MB / 446.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01341, allocations: 63.95 kB / 446.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01341, allocations: 3.938 kB / 446.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01352, allocations: 39.89 kB / 446.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.01381, allocations: 19.19 kB / 446.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.01429, allocations: 197.2 kB / 446.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.01437, allocations: 79.27 kB / 447 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.01445, allocations: 29 kB / 447 MB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.0145, allocations: 16.48 kB / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.0145, allocations: 4 kB / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Templates: time 0.1709/0.1854, allocations: 2.011 MB / 449 MB, free: 21.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 4.501350712031126]