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.0009996/0.0009996, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009768/0.0009768, allocations: 164.3 kB / 24.84 MB, free: 9.25 MB / 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.9784/0.9784, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1466/0.1466, allocations: 32.38 MB / 271.5 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 1.342e-06/1.342e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.444e-05, allocations: 2.312 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002418/0.002442, allocations: 1.74 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.003416, allocations: 0.792 MB / 351.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.003489, allocations: 0 / 351.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.003822, allocations: 111.6 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.004049, allocations: 95.56 kB / 351.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.004263, allocations: 87.64 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.004413, allocations: 123.7 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.004501, allocations: 8 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.004592, allocations: 75.73 kB / 352 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004696, allocations: 63.86 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004713, allocations: 4 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.004798, allocations: 51.91 kB / 352.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.004849, allocations: 27.92 kB / 352.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.004886, allocations: 35.84 kB / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.005055, allocations: 111.6 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005058, allocations: 0 / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005059, allocations: 0 / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005063, allocations: 0 / 352.3 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.0003682/0.005431, allocations: 483.5 kB / 352.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.005465, allocations: 8.031 kB / 352.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.005505, allocations: 20.83 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.005642, allocations: 164.2 kB / 353 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.005659, allocations: 8.375 kB / 353 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.005676, allocations: 384 / 353 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005785, allocations: 74.86 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.005796, allocations: 3.938 kB / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.005803, allocations: 0 / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005808, allocations: 0 / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.005847, allocations: 15.98 kB / 353.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.006086, allocations: 288.2 kB / 353.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.006185, allocations: 63.25 kB / 353.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.00621, allocations: 23.67 kB / 353.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.006223, allocations: 7.922 kB / 353.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.064e-05/0.006314, allocations: 77.03 kB / 353.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.006315, allocations: 3.938 kB / 353.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003662/0.006681, allocations: 173.6 kB / 353.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.006703, allocations: 55.41 kB / 353.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.006818, allocations: 253.5 kB / 354 MB, free: 3.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006829, allocations: 33.7 kB / 354 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.006876, allocations: 162.7 kB / 354.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.006907, allocations: 43.67 kB / 354.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.006948, allocations: 39.34 kB / 354.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.007, allocations: 0.5001 MB / 354.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.007023, allocations: 15.98 kB / 354.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.007056, allocations: 35.36 kB / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.007118, allocations: 67.22 kB / 354.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007119, allocations: 0 / 354.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.007248, allocations: 101.5 kB / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.00726, allocations: 8.031 kB / 355 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.007265, allocations: 4 kB / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.007275, allocations: 0 / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.007355, allocations: 23.92 kB / 355 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007359, allocations: 4 kB / 355 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.007396, allocations: 11.92 kB / 355 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007404, allocations: 4 kB / 355 MB, free: 2.812 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 6.152e-05/0.007465, allocations: 164.5 kB / 355.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.007487, allocations: 15.91 kB / 355.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.007666, allocations: 133.2 kB / 355.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.007668, allocations: 4 kB / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007669, allocations: 0 / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007674, allocations: 4 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.007963, allocations: 405.7 kB / 355.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007965, allocations: 3.984 kB / 355.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.008008, allocations: 16 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.00801, allocations: 0 / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008018, allocations: 8 kB / 355.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00802, allocations: 0 / 355.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008021, allocations: 0 / 355.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.008159, allocations: 295.4 kB / 356.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.008172, allocations: 11.91 kB / 356.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.008192, allocations: 4 kB / 356.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.008253, allocations: 7.984 kB / 356.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.008279, allocations: 7.984 kB / 356.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.008293, allocations: 4 kB / 356.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.008353, allocations: 178.9 kB / 356.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008353, allocations: 0 / 356.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.008599, allocations: 35.88 kB / 356.3 MB, free: 1.461 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.0009446/0.009544, allocations: 439.6 kB / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.009666, allocations: 67.62 kB / 356.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009668, allocations: 3.938 kB / 356.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.009713, allocations: 35.67 kB / 356.8 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.0002891/0.01, allocations: 35.95 kB / 356.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.01032, allocations: 273.5 kB / 357.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.01036, allocations: 71.33 kB / 357.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.0104, allocations: 24.77 kB / 357.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.01047, allocations: 94.19 kB / 357.3 MB, free: 484 kB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01047, allocations: 0 / 357.3 MB, free: 484 kB / 282.7 MB Notification: Performance of Templates: time 0.004566/0.01504, allocations: 2.322 MB / 359.6 MB, free: 14.18 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.1779792378656566]