Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001112/0.001112, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001732/0.002844, 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.001157/0.001157, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002863, 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.8907/0.8907, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.046, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1345/0.1345, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02636/0.1608, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.928e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002349/0.002368, allocations: 1.774 MB / 269.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.006546, allocations: 0.8116 MB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.006609, allocations: 3.938 kB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.006811, allocations: 55.7 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.006954, allocations: 63.62 kB / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.007145, allocations: 91.62 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.007298, allocations: 91.66 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.007372, allocations: 12.2 kB / 270.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.007492, allocations: 71.84 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.007567, allocations: 31.89 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.007591, allocations: 7.938 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.007676, allocations: 39.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.00772, allocations: 27.94 kB / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.007752, allocations: 15.94 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.007923, allocations: 107.5 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.007933, allocations: 0 / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007934, allocations: 0 / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.007944, allocations: 0 / 270.7 MB, free: 15.24 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.0004374/0.008381, allocations: 363.6 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.00841, allocations: 8.031 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.008446, allocations: 16.92 kB / 271 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.01161, allocations: 145.6 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.01163, allocations: 8.312 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.01165, allocations: 8.375 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.01176, allocations: 61.7 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01177, allocations: 3.938 kB / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.01178, allocations: 8 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01179, allocations: 3.984 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.01181, allocations: 7.984 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.01202, allocations: 165.9 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.01212, allocations: 97.27 kB / 271.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.01215, allocations: 16.86 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.01216, allocations: 0 / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.01226, allocations: 70.16 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.01226, allocations: 0 / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003278/0.01259, allocations: 113.5 kB / 271.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.01261, allocations: 55.41 kB / 271.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01276, allocations: 211.7 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.01278, allocations: 25.7 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.01282, allocations: 104 kB / 272.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.01285, allocations: 19.86 kB / 272.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.01288, allocations: 29.69 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.01297, allocations: 326.8 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.01299, allocations: 10.83 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.01302, allocations: 25.64 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.01307, allocations: 44.58 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01307, allocations: 0 / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.939e-05/0.01316, allocations: 72.38 kB / 272.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01317, allocations: 8 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.01317, allocations: 32 / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01319, allocations: 4 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.01326, allocations: 23.98 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.01326, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.01329, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.0133, allocations: 4 kB / 272.7 MB, free: 13.04 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 6.893e-05/0.01337, allocations: 128.5 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.01338, allocations: 7.938 kB / 272.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.01349, allocations: 83.25 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01349, allocations: 3.938 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01349, allocations: 4 kB / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.0135, allocations: 0 / 272.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01373, allocations: 299.4 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01373, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.01377, allocations: 15.94 kB / 273.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.01378, allocations: 11.91 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01378, allocations: 4 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.01379, allocations: 3.984 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01379, allocations: 0 / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01379, allocations: 0 / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.01391, allocations: 223.4 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01392, allocations: 4 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.01398, allocations: 8 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.01401, allocations: 7.984 kB / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01402, allocations: 0 / 273.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.01409, allocations: 72.88 kB / 273.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01409, allocations: 0 / 273.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.01428, allocations: 24 kB / 273.6 MB, free: 12.09 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.004506/0.01879, allocations: 0.6399 MB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.01889, allocations: 48.72 kB / 274.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.0189, allocations: 0 / 274.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.01893, allocations: 20.86 kB / 274.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01922, allocations: 196.4 kB / 274.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.01972, allocations: 258.8 kB / 274.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.01977, allocations: 72.27 kB / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01981, allocations: 12.44 kB / 274.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.01988, allocations: 67.36 kB / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01989, allocations: 0 / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Templates: time 0.008049/0.02793, allocations: 2.064 MB / 276.9 MB, free: 8.625 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.7515174923464656]