Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.00128/0.00128, 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.001442/0.001442, allocations: 216.6 kB / 24.49 MB, free: 3.934 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.223/0.223, allocations: 46.95 MB / 361.6 MB, free: 4.031 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 0.4974 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003368/0.2885, allocations: 1.721 MB / 0.5636 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.2913, allocations: 1.653 MB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.2914, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.2916, allocations: 47.7 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.292, allocations: 95.55 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.2922, allocations: 83.66 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2924, allocations: 103.8 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2925, allocations: 8 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.2926, allocations: 55.64 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2927, allocations: 39.84 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2928, allocations: 7.984 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.2929, allocations: 108 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.293, allocations: 27.84 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.293, allocations: 23.81 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.2933, allocations: 169.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2934, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2934, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2934, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.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.0005989/0.294, allocations: 353.5 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.294, allocations: 8.031 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.294, allocations: 12.84 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2943, allocations: 158 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2943, allocations: 7.938 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2944, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.2946, allocations: 101.1 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2946, allocations: 4 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2946, allocations: 0 / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2946, allocations: 3.938 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.2947, allocations: 19.98 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.2951, allocations: 232.5 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2953, allocations: 62.67 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.2953, allocations: 20.8 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2953, allocations: 0 / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2955, allocations: 79.31 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2955, allocations: 0 / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000585/0.2961, allocations: 173.4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2961, allocations: 85.05 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2963, allocations: 165.9 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2963, allocations: 33.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.2964, allocations: 100.1 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2965, allocations: 31.73 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.2965, allocations: 29.7 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2966, allocations: 322.8 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.2967, allocations: 16 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2968, allocations: 76.25 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2969, allocations: 57.66 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2969, allocations: 0 / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.2972, allocations: 113.7 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2972, allocations: 4 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2972, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2972, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.2973, allocations: 23.92 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2973, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.2973, allocations: 11.94 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2973, allocations: 0 / 0.5681 GB, free: 13.51 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.0001035/0.2974, allocations: 124.8 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2975, allocations: 7.953 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.2978, allocations: 122.3 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2978, allocations: 0 / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2978, allocations: 0 / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.2978, allocations: 19.84 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.2978, allocations: 8.266 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.2979, allocations: 0 / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2979, allocations: 11.92 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002645/0.2982, allocations: 188.8 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003147/0.2985, allocations: 286.6 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.155e-05/0.2985, allocations: 23.98 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2987, allocations: 135.2 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Backend: time 1.5e-07/0.2987, allocations: 0 / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.3011, allocations: 0.6086 MB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006734/0.3018, allocations: 0.6489 MB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.005944/0.3077, allocations: 2.648 MB / 0.5728 GB, free: 8.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.751748105001752]