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.001663/0.001663, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001719/0.001719, allocations: 157.3 kB / 23.51 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.55/1.55, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.23/0.23, allocations: 32.38 MB / 270 MB, free: 14.76 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.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.023e-05, allocations: 2.312 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003542/0.003572, allocations: 1.687 MB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.005246, allocations: 0.7727 MB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.005324, allocations: 3.938 kB / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.005683, allocations: 47.75 kB / 349.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.005957, allocations: 55.7 kB / 349.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.006274, allocations: 87.69 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.006488, allocations: 95.64 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.006592, allocations: 12.22 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.006715, allocations: 51.83 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.006807, allocations: 19.92 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.006833, allocations: 4 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.006955, allocations: 51.84 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.007027, allocations: 27.92 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.007087, allocations: 19.92 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.007376, allocations: 111.6 kB / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.00738, allocations: 0 / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007381, allocations: 0 / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.007388, allocations: 0 / 350.1 MB, free: 6.66 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.0005843/0.007972, allocations: 341.6 kB / 350.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.008017, allocations: 8.031 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.008094, allocations: 20.84 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.00843, allocations: 155.2 kB / 350.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.00845, allocations: 4.375 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.008484, allocations: 4.375 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.008682, allocations: 54.23 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.008696, allocations: 3.938 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.00871, allocations: 0 / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.008717, allocations: 4 kB / 350.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.008826, allocations: 19.98 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.009225, allocations: 232.5 kB / 350.9 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.009463, allocations: 58.67 kB / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.009545, allocations: 28.78 kB / 351 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.009567, allocations: 4 kB / 351 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.009752, allocations: 67.34 kB / 351 MB, free: 5.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.009753, allocations: 0 / 351 MB, free: 5.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007784/0.01053, allocations: 185.4 kB / 351.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.01056, allocations: 59.28 kB / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.01078, allocations: 208.4 kB / 351.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.01079, allocations: 25.7 kB / 351.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.01084, allocations: 104.1 kB / 351.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.01088, allocations: 27.78 kB / 351.6 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01093, allocations: 21.72 kB / 351.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.01099, allocations: 322.8 kB / 352 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-05/0.01108, allocations: 23.98 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-05/0.01117, allocations: 37.7 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01134, allocations: 69.58 kB / 352.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01134, allocations: 0 / 352.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002659/0.0116, allocations: 105.6 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01162, allocations: 4.031 kB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.01163, allocations: 8 kB / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.01165, allocations: 0 / 352.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01177, allocations: 15.94 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01178, allocations: 0 / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.01184, allocations: 8.359 kB / 352.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.01185, allocations: 4 kB / 352.2 MB, free: 4.289 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 9.444e-05/0.01195, allocations: 126.8 kB / 352.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.012, allocations: 19.89 kB / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.01232, allocations: 123.2 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01233, allocations: 12 kB / 352.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.01234, allocations: 3.984 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01234, allocations: 0 / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.01284, allocations: 346.9 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01285, allocations: 0 / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.0129, allocations: 12 kB / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01291, allocations: 0 / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.01292, allocations: 4 kB / 352.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01292, allocations: 4 kB / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01293, allocations: 0 / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.01322, allocations: 224.2 kB / 353.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01324, allocations: 7.953 kB / 353.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.01327, allocations: 4 kB / 353.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.0134, allocations: 7.938 kB / 353.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.01345, allocations: 11.92 kB / 353.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.01347, allocations: 4 kB / 353.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.01361, allocations: 155.9 kB / 353.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01361, allocations: 0 / 353.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.01413, allocations: 27.92 kB / 353.3 MB, free: 3.141 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.003052/0.01718, allocations: 0.4893 MB / 353.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.01749, allocations: 59.91 kB / 353.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01749, allocations: 0 / 353.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01759, allocations: 39.97 kB / 353.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.01824, allocations: 33.47 kB / 353.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.01886, allocations: 236.3 kB / 354.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.085e-05/0.01895, allocations: 92.3 kB / 354.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.01902, allocations: 20.78 kB / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.01907, allocations: 16.56 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01907, allocations: 4 kB / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Templates: time 0.006868/0.02594, allocations: 1.837 MB / 356.1 MB, free: 408 kB / 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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: 4.943679415038787]