Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008162/0.0008162, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002103, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001028/0.001028, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.00207, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8564/0.8564, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.149/1.005, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1233/0.1233, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01979/0.1431, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.308e-05, allocations: 10.25 kB / 267.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00191/0.001923, allocations: 1.77 MB / 269.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.002968, allocations: 0.8075 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.003031, allocations: 3.938 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.003211, allocations: 47.7 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003335, allocations: 59.62 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.003498, allocations: 87.69 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003628, allocations: 99.59 kB / 270.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.003694, allocations: 8.219 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003797, allocations: 71.83 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.00386, allocations: 23.92 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.00388, allocations: 11.94 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.148e-05/0.003951, allocations: 43.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.003994, allocations: 19.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.004024, allocations: 11.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004181, allocations: 99.59 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.004191, allocations: 4 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004191, allocations: 0 / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.0042, allocations: 0 / 270.6 MB, free: 15.28 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.0003895/0.00459, allocations: 335.8 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.004618, allocations: 8.031 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.004648, allocations: 12.94 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004783, allocations: 138.3 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.0048, allocations: 8.359 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004819, allocations: 4.375 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.004911, allocations: 61.7 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004921, allocations: 3.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004928, allocations: 4 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004933, allocations: 4 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.004953, allocations: 4 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.005141, allocations: 173.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.005225, allocations: 93.34 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.005243, allocations: 12.84 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.005253, allocations: 4 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.801e-05/0.005341, allocations: 66.09 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005341, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002681/0.00561, allocations: 117.5 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.005633, allocations: 51.41 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.005853, allocations: 177 kB / 271.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.005866, allocations: 25.7 kB / 271.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.005895, allocations: 100.1 kB / 272 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.005916, allocations: 27.78 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.005945, allocations: 21.7 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.006015, allocations: 326.8 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.006032, allocations: 10.83 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.006053, allocations: 21.7 kB / 272.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.006093, allocations: 48.52 kB / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006094, allocations: 0 / 272.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.669e-05/0.00616, allocations: 76.41 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.00617, allocations: 4 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.006174, allocations: 0 / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006184, allocations: 4 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.006242, allocations: 19.98 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.006245, allocations: 3.938 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.006269, allocations: 4 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.006273, allocations: 0 / 272.6 MB, free: 13.16 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 5.709e-05/0.006331, allocations: 120.7 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006344, allocations: 19.86 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.006433, allocations: 83.25 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006434, allocations: 0 / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006436, allocations: 0 / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006439, allocations: 4 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.006626, allocations: 291.4 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006628, allocations: 0 / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.006653, allocations: 19.92 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.006662, allocations: 7.953 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006664, allocations: 0 / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.00667, allocations: 4 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006672, allocations: 8.031 kB / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006674, allocations: 0 / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.123e-05/0.006765, allocations: 211.4 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.00678, allocations: 7.984 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.006818, allocations: 8 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.00684, allocations: 7.984 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.006848, allocations: 0 / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.006885, allocations: 52.34 kB / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006885, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.007033, allocations: 27.94 kB / 273.4 MB, free: 12.25 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.001198/0.008231, allocations: 0.6321 MB / 274.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.008321, allocations: 44.72 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.008328, allocations: 8.094 kB / 274.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.008362, allocations: 28.84 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.008577, allocations: 184.3 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.00897, allocations: 222.3 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.86e-05/0.009009, allocations: 63.34 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.009042, allocations: 12.95 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.009105, allocations: 71.45 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009106, allocations: 0 / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Templates: time 0.003598/0.0127, allocations: 2.048 MB / 276.7 MB, free: 8.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6529639260843396]