Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001183/0.001183, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001384/0.001384, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2212/0.2212, allocations: 46.96 MB / 361.6 MB, free: 4.172 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2813, allocations: 66.03 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003095/0.2844, allocations: 1.714 MB / 0.5636 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2861, allocations: 0.9715 MB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.2862, allocations: 7.938 kB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.2864, allocations: 35.83 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.2867, allocations: 91.56 kB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2869, allocations: 83.66 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2871, allocations: 99.69 kB / 0.5648 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.2872, allocations: 8 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.2873, allocations: 47.78 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.2873, allocations: 35.72 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2874, allocations: 4 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.2874, allocations: 47.97 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.2875, allocations: 23.92 kB / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.2876, allocations: 19.88 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.2878, allocations: 118 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2878, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2878, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2878, allocations: 0 / 0.5651 GB, free: 0.875 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.0005321/0.2883, allocations: 341.6 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2883, allocations: 12.03 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.2884, allocations: 8.891 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2886, allocations: 146.3 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2886, allocations: 8.375 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2887, allocations: 4.125 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2888, allocations: 57.67 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2888, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2888, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2888, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.2889, allocations: 27.91 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.2893, allocations: 228.5 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.2895, allocations: 58.66 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.2895, allocations: 24.84 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2895, allocations: 4 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.2897, allocations: 67.33 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.2897, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.2903, allocations: 189.3 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2903, allocations: 51.41 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2905, allocations: 178.2 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2905, allocations: 25.7 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.2906, allocations: 108.1 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.2906, allocations: 27.78 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.2907, allocations: 25.72 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2908, allocations: 326.8 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.2909, allocations: 23.98 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.2909, allocations: 33.7 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2911, allocations: 61.64 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2911, allocations: 3.938 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.2913, allocations: 109.6 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2913, allocations: 4 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2913, allocations: 0 / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2913, allocations: 4 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.2914, allocations: 15.94 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2914, allocations: 3.984 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.2915, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2915, allocations: 4 kB / 0.5672 GB, free: 14.54 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.0001032/0.2916, allocations: 121.8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2916, allocations: 11.95 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.2919, allocations: 130.2 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2919, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2919, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.2919, allocations: 7.953 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.2919, allocations: 7.938 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.292, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.292, allocations: 7.984 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000255/0.2922, allocations: 193.1 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002816/0.2925, allocations: 278.7 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.97e-05/0.2926, allocations: 27.97 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2927, allocations: 144 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Backend: time 1.4e-07/0.2927, allocations: 0 / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.2949, allocations: 0.5118 MB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006547/0.2955, allocations: 0.6538 MB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.005069/0.3006, allocations: 1.999 MB / 0.5712 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.615521471001557]