Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.00109/0.00109, allocations: 76.22 kB / 20.65 MB, free: 3.848 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.001185/0.001185, allocations: 177 kB / 24.06 MB, free: 456 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 1.023/1.023, allocations: 158.6 MB / 186 MB, free: 2.781 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.1509/0.1509, allocations: 32.36 MB / 270.7 MB, free: 14.54 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.26e-05, allocations: 4.281 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00221/0.002232, allocations: 1.75 MB / 350 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.003199, allocations: 0.7843 MB / 350.7 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.003282, allocations: 4 kB / 350.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.003627, allocations: 103.6 kB / 350.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.003866, allocations: 95.56 kB / 350.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.004057, allocations: 91.69 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004204, allocations: 127.6 kB / 351.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.004295, allocations: 7.984 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.004394, allocations: 71.81 kB / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.004489, allocations: 63.86 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.004514, allocations: 7.984 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.004586, allocations: 47.86 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.004633, allocations: 35.84 kB / 351.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.004679, allocations: 23.92 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004843, allocations: 115.6 kB / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004845, allocations: 0 / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.004845, allocations: 0 / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.004851, allocations: 4 kB / 351.5 MB, free: 5.762 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004069/0.005258, allocations: 483.5 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.005298, allocations: 8.031 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.005337, allocations: 20.84 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005479, allocations: 160.2 kB / 352.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.005496, allocations: 4.375 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.005515, allocations: 4.375 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005638, allocations: 70.92 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.005649, allocations: 7.875 kB / 352.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005656, allocations: 0 / 352.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.005664, allocations: 8 kB / 352.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.005699, allocations: 19.97 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.005948, allocations: 284.2 kB / 352.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006048, allocations: 67.19 kB / 352.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.006077, allocations: 23.67 kB / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.0061, allocations: 3.938 kB / 352.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.006193, allocations: 73.02 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.006194, allocations: 0 / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003623/0.006557, allocations: 169.8 kB / 352.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.006576, allocations: 51.41 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006685, allocations: 265.5 kB / 353.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.006696, allocations: 29.7 kB / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.006737, allocations: 166.7 kB / 353.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.006765, allocations: 39.69 kB / 353.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.006801, allocations: 35.34 kB / 353.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.006864, allocations: 0.4962 MB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.006884, allocations: 15.98 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.006916, allocations: 47.36 kB / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.006965, allocations: 59.28 kB / 354.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006966, allocations: 3.938 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001044/0.007071, allocations: 113.5 kB / 354.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007082, allocations: 4 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007086, allocations: 0 / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.007099, allocations: 0 / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.007173, allocations: 23.94 kB / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007178, allocations: 4.141 kB / 354.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.007207, allocations: 7.938 kB / 354.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.007213, allocations: 3.984 kB / 354.2 MB, free: 2.816 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 (13): * Single equations (assignments): 13 * 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 5.503e-05/0.007268, allocations: 168.5 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.007284, allocations: 19.91 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.007435, allocations: 127 kB / 354.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007437, allocations: 4 kB / 354.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.007439, allocations: 0 / 354.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.007443, allocations: 0 / 354.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.007701, allocations: 413.4 kB / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.007705, allocations: 4 kB / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.007738, allocations: 12 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00774, allocations: 4.031 kB / 355 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007747, allocations: 7.984 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007748, allocations: 0 / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007749, allocations: 0 / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007885, allocations: 283.4 kB / 355.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.007898, allocations: 11.91 kB / 355.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.007919, allocations: 11.98 kB / 355.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.00796, allocations: 0 / 355.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.007988, allocations: 7.984 kB / 355.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.008003, allocations: 8 kB / 355.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.008068, allocations: 190.9 kB / 355.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008068, allocations: 0 / 355.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.008237, allocations: 35.81 kB / 355.5 MB, free: 1.453 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 (13): * Single equations (assignments): 11 * 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.0008593/0.009097, allocations: 439 kB / 356 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.00921, allocations: 59.59 kB / 356 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009212, allocations: 0 / 356 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.009251, allocations: 39.61 kB / 356.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.009491, allocations: 40.09 kB / 356.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.009847, allocations: 269.5 kB / 356.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.009886, allocations: 79.33 kB / 356.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.009927, allocations: 20.62 kB / 356.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.009994, allocations: 90.19 kB / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009996, allocations: 0 / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of Templates: time 0.004188/0.01418, allocations: 2.296 MB / 358.8 MB, free: 14.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.126833653077483]