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.003881/0.003881, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003294/0.003294, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.943/1.943, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.3283/0.3283, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|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.1.|t_new.y.2.|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 4.128e-06/4.128e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.77e-05/5.183e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004395/0.004447, allocations: 1.727 MB / 348.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.006153, allocations: 0.7804 MB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.006268, allocations: 4 kB / 349.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.006873, allocations: 119.5 kB / 349.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.007228, allocations: 79.66 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.007528, allocations: 91.69 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.007817, allocations: 127.6 kB / 349.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.007978, allocations: 11.98 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.008145, allocations: 67.81 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.008303, allocations: 67.84 kB / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.008338, allocations: 4 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.008468, allocations: 51.86 kB / 350.1 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.008589, allocations: 35.86 kB / 350.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.00866, allocations: 23.92 kB / 350.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.008982, allocations: 135.5 kB / 350.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.008991, allocations: 4 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.008994, allocations: 0 / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.009004, allocations: 0 / 350.3 MB, free: 6.387 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.0008855/0.009889, allocations: 487.2 kB / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.009947, allocations: 8.031 kB / 350.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.01004, allocations: 20.84 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.01037, allocations: 168.2 kB / 351 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01039, allocations: 8.297 kB / 351 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.01045, allocations: 8.375 kB / 351 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.01065, allocations: 58.23 kB / 351.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.01067, allocations: 3.938 kB / 351.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.01069, allocations: 3.938 kB / 351.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01069, allocations: 4 kB / 351.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.01082, allocations: 27.97 kB / 351.1 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.01145, allocations: 327.7 kB / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.01171, allocations: 87.19 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.01178, allocations: 31.67 kB / 351.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.01181, allocations: 4 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.01201, allocations: 73.05 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.01202, allocations: 0 / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008704/0.01289, allocations: 229.2 kB / 351.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.01294, allocations: 55.41 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.01323, allocations: 282.7 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01326, allocations: 29.7 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.01343, allocations: 170.7 kB / 352.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.01349, allocations: 39.67 kB / 352.4 MB, free: 4.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.01355, allocations: 39.38 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.01385, allocations: 0.5117 MB / 353 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.01393, allocations: 24 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.01402, allocations: 66.03 kB / 353 MB, free: 3.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.01416, allocations: 87.41 kB / 353.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01417, allocations: 0 / 353.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002546/0.01442, allocations: 133.5 kB / 353.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.01444, allocations: 4 kB / 353.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.01445, allocations: 3.984 kB / 353.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.01448, allocations: 12.02 kB / 353.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01461, allocations: 19.94 kB / 353.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01462, allocations: 0 / 353.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.01467, allocations: 11.98 kB / 353.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01469, allocations: 4 kB / 353.3 MB, free: 3.176 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 0.0001374/0.01482, allocations: 169.4 kB / 353.5 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.01486, allocations: 19.91 kB / 353.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.01522, allocations: 167.4 kB / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01523, allocations: 0 / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01523, allocations: 4 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01524, allocations: 7.984 kB / 353.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.01585, allocations: 476.9 kB / 354.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01585, allocations: 0 / 354.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.01591, allocations: 15.98 kB / 354.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01591, allocations: 4 kB / 354.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01593, allocations: 4 kB / 354.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01593, allocations: 4 kB / 354.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01593, allocations: 0 / 354.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.01627, allocations: 311.3 kB / 354.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01629, allocations: 15.91 kB / 354.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.01633, allocations: 8.031 kB / 354.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.0164, allocations: 4 kB / 354.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.01648, allocations: 11.92 kB / 354.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.01651, allocations: 11.98 kB / 354.5 MB, free: 1.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.01668, allocations: 203 kB / 354.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01668, allocations: 0 / 354.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.01698, allocations: 24 kB / 354.7 MB, free: 1.656 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.003532/0.02051, allocations: 497.1 kB / 355.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.02083, allocations: 99.52 kB / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.02084, allocations: 0 / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.02094, allocations: 51.61 kB / 355.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.02144, allocations: 37.55 kB / 355.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.02225, allocations: 293.7 kB / 355.7 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.0224, allocations: 105 kB / 355.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.02248, allocations: 20.62 kB / 355.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.02255, allocations: 24.48 kB / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 1.794e-06/0.02255, allocations: 0 / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.008572/0.03112, allocations: 2.078 MB / 357.9 MB, free: 14.55 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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: 6.316872010938823]