Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.00146/0.00146, allocations: 88.22 kB / 20.2 MB, free: 4.348 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.00262/0.00262, allocations: 169.6 kB / 23.52 MB, free: 1.039 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 1.584/1.584, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.248/0.248, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.859e-05, allocations: 6.25 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002648/0.002686, allocations: 1.695 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.00389, allocations: 0.7688 MB / 349.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.003957, allocations: 0 / 349.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.004263, allocations: 59.69 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.004463, allocations: 59.69 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.004675, allocations: 83.7 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.004822, allocations: 103.6 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.004903, allocations: 8.219 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.004985, allocations: 51.83 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.005052, allocations: 31.91 kB / 349.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.005073, allocations: 4 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.005151, allocations: 39.92 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.005216, allocations: 27.86 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.005261, allocations: 27.86 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.005437, allocations: 123.6 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.005441, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005442, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.005446, allocations: 0 / 350.1 MB, free: 6.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004557/0.005902, allocations: 373.3 kB / 350.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.005936, allocations: 12.03 kB / 350.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.005992, allocations: 24.84 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.006224, allocations: 161.2 kB / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.006238, allocations: 384 / 350.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.006262, allocations: 8.375 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.006393, allocations: 50.23 kB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.006405, allocations: 3.938 kB / 350.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006416, allocations: 4 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.00642, allocations: 0 / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.006491, allocations: 19.98 kB / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.006792, allocations: 244.5 kB / 351 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.006951, allocations: 58.62 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.007003, allocations: 24.78 kB / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.007019, allocations: 0 / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.007159, allocations: 67.39 kB / 351.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.00716, allocations: 0 / 351.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005263/0.007686, allocations: 197.2 kB / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.007714, allocations: 51.41 kB / 351.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.007898, allocations: 275.4 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.00791, allocations: 29.7 kB / 351.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.007957, allocations: 112.1 kB / 351.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.00798, allocations: 15.86 kB / 351.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.008015, allocations: 29.7 kB / 351.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.00808, allocations: 322.8 kB / 352.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.008135, allocations: 23.98 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.008192, allocations: 41.64 kB / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.008293, allocations: 65.62 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008294, allocations: 8 kB / 352.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001589/0.008453, allocations: 105.5 kB / 352.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.008467, allocations: 8 kB / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008472, allocations: 3.984 kB / 352.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.008491, allocations: 0 / 352.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.008577, allocations: 15.94 kB / 352.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008581, allocations: 0 / 352.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.008627, allocations: 4.375 kB / 352.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.008636, allocations: 11.98 kB / 352.4 MB, free: 4.137 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 (10): * Single equations (assignments): 10 * 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 8.187e-05/0.008718, allocations: 142.7 kB / 352.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.008744, allocations: 19.91 kB / 352.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.008959, allocations: 127.2 kB / 352.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.008961, allocations: 0 / 352.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.008966, allocations: 4 kB / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008969, allocations: 0 / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.009294, allocations: 358.9 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009295, allocations: 0 / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.009331, allocations: 11.98 kB / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.009332, allocations: 32 / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.009342, allocations: 8 kB / 353.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009343, allocations: 0 / 353.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009344, allocations: 0 / 353.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.009541, allocations: 224.1 kB / 353.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.00956, allocations: 15.94 kB / 353.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.009581, allocations: 4 kB / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.009656, allocations: 0 / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.009695, allocations: 11.92 kB / 353.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.009711, allocations: 8 kB / 353.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.009826, allocations: 203.2 kB / 353.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009827, allocations: 4 kB / 353.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.01009, allocations: 27.98 kB / 353.5 MB, free: 2.914 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 (9): * Single equations (assignments): 7 * 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.002158/0.01225, allocations: 491.4 kB / 354 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.01244, allocations: 67.91 kB / 354.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01245, allocations: 0 / 354.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-05/0.01252, allocations: 31.92 kB / 354.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.01292, allocations: 36.86 kB / 354.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01338, allocations: 289.2 kB / 354.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.01346, allocations: 109.8 kB / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.0135, allocations: 16.92 kB / 354.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.01354, allocations: 20.48 kB / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01354, allocations: 0 / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of Templates: time 0.004565/0.01811, allocations: 1.857 MB / 356.4 MB, free: 96 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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: 5.0652839300455526]