Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001778/0.001778, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002285/0.002285, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 60.05 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2835, allocations: 66.04 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003174/0.2867, allocations: 1.716 MB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2884, allocations: 0.9637 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.2885, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.2887, allocations: 47.77 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.289, allocations: 95.59 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.2892, allocations: 83.66 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.2894, allocations: 107.6 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.2895, allocations: 8 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.2896, allocations: 39.8 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.2897, allocations: 35.77 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2897, allocations: 4 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.2898, allocations: 43.98 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.2898, allocations: 23.91 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.2899, allocations: 31.75 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2901, allocations: 125.8 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2901, allocations: 0 / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2901, allocations: 0 / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2901, allocations: 0 / 0.5651 GB, free: 0.8047 MB / 398.1 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.0005284/0.2906, allocations: 337.6 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2907, allocations: 12.03 kB / 0.5655 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2907, allocations: 12.84 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.291, allocations: 150.3 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.291, allocations: 384 / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.291, allocations: 8.125 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2911, allocations: 69.53 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2912, allocations: 0 / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2912, allocations: 0 / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2912, allocations: 0 / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.2912, allocations: 19.98 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.2916, allocations: 232.5 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.2918, allocations: 58.62 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.2919, allocations: 20.84 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2919, allocations: 4 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.292, allocations: 67.39 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.292, allocations: 0 / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005609/0.2926, allocations: 189.5 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2927, allocations: 51.41 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2928, allocations: 183.2 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2929, allocations: 29.7 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.2929, allocations: 108.1 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.293, allocations: 23.84 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.293, allocations: 21.72 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2932, allocations: 326.8 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.2933, allocations: 23.98 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.2933, allocations: 41.64 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.2935, allocations: 65.69 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2935, allocations: 0 / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.2937, allocations: 105.5 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2937, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2937, allocations: 32 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2937, allocations: 4.188 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.2938, allocations: 20 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2938, allocations: 3.938 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.2939, allocations: 3.984 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2939, allocations: 4 kB / 0.5672 GB, free: 14.46 MB / 414.1 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 0.0001063/0.294, allocations: 129.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.294, allocations: 11.95 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.2943, allocations: 123 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2943, allocations: 3.984 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2943, allocations: 4 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2943, allocations: 15.88 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2943, allocations: 3.938 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.2944, allocations: 8 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2944, allocations: 3.984 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002559/0.2947, allocations: 184.9 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.295, allocations: 282.7 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.091e-05/0.295, allocations: 27.97 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.2952, allocations: 146 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.2952, allocations: 4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.2973, allocations: 0.4997 MB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007506/0.2981, allocations: 0.6719 MB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.005203/0.3033, allocations: 2.007 MB / 0.5712 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.695134143003088]