Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001086/0.001086, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002541, allocations: 447.8 kB / 10.35 MB, free: 348 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.001039/0.001039, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002386, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.975/0.975, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1794/1.154, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.141/0.141, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02161/0.1626, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.472e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002487/0.002511, allocations: 1.774 MB / 269.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.003447, allocations: 0.7998 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.003511, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.003715, allocations: 51.69 kB / 269.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.003853, allocations: 55.64 kB / 270 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.004045, allocations: 91.69 kB / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004204, allocations: 95.7 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.004294, allocations: 4.234 kB / 270.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.00443, allocations: 79.77 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.004522, allocations: 23.91 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.004543, allocations: 4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.004637, allocations: 47.91 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.004691, allocations: 15.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.004731, allocations: 11.94 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.004923, allocations: 103.5 kB / 270.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.986e-05/0.004943, allocations: 4 kB / 270.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004944, allocations: 0 / 270.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.004968, allocations: 0 / 270.4 MB, free: 3.262 MB / 266.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.0005487/0.005517, allocations: 327.9 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005556, allocations: 8.031 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.005599, allocations: 16.92 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.00578, allocations: 142.3 kB / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.005799, allocations: 384 / 270.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.00582, allocations: 8.375 kB / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.005957, allocations: 57.77 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.005969, allocations: 11.88 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005977, allocations: 4 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005983, allocations: 0 / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.006013, allocations: 11.98 kB / 271 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.006246, allocations: 169.9 kB / 271.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.006346, allocations: 85.3 kB / 271.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.006367, allocations: 16.86 kB / 271.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.006379, allocations: 4 kB / 271.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.006489, allocations: 70.09 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.00649, allocations: 4 kB / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003202/0.00681, allocations: 109.5 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.006848, allocations: 55.41 kB / 271.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.00695, allocations: 173 kB / 271.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.006967, allocations: 29.7 kB / 271.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.006995, allocations: 92.11 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.007023, allocations: 27.77 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.007054, allocations: 25.7 kB / 271.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.007134, allocations: 322.8 kB / 272.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.007152, allocations: 14.83 kB / 272.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.007177, allocations: 29.69 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.007219, allocations: 44.53 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00722, allocations: 0 / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.411e-05/0.007294, allocations: 72.38 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007305, allocations: 4 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007311, allocations: 7.969 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.007319, allocations: 0 / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.007388, allocations: 16 kB / 272.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007391, allocations: 4.031 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.007419, allocations: 8 kB / 272.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.007425, allocations: 3.984 kB / 272.4 MB, free: 1.145 MB / 266.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 6.505e-05/0.00749, allocations: 116.7 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.007507, allocations: 15.94 kB / 272.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.007608, allocations: 75.06 kB / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00761, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.007612, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007615, allocations: 0 / 272.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.007838, allocations: 299.4 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00784, allocations: 0 / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.007872, allocations: 15.98 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.007882, allocations: 7.953 kB / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007885, allocations: 0 / 272.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.007891, allocations: 3.938 kB / 272.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.007892, allocations: 3.938 kB / 272.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007893, allocations: 4 kB / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.008004, allocations: 219 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.00802, allocations: 384 / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.008061, allocations: 7.938 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.008092, allocations: 16.02 kB / 273.2 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.008106, allocations: 4 kB / 273.2 MB, free: 320 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.008147, allocations: 52.34 kB / 273.2 MB, free: 264 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008147, allocations: 0 / 273.2 MB, free: 264 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.008288, allocations: 23.94 kB / 273.2 MB, free: 240 kB / 266.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.0013/0.009588, allocations: 0.64 MB / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.009683, allocations: 44.78 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.009691, allocations: 4 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.00972, allocations: 24.78 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.009905, allocations: 47.77 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.01035, allocations: 226.4 kB / 274.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.01039, allocations: 67.33 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.01042, allocations: 12.48 kB / 274.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.01048, allocations: 63.38 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01048, allocations: 0 / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Templates: time 0.003554/0.01403, allocations: 2.038 MB / 276.4 MB, free: 13.01 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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: 2.8758784690871835]