Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001887/0.001887, allocations: 106.8 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.002328/0.002328, allocations: 219 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.462/1.462, 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.2271/0.2271, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 66.02 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00319/0.308, allocations: 1.671 MB / 0.5635 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3097, allocations: 0.952 MB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.3098, allocations: 0 / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3101, allocations: 63.73 kB / 0.5645 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.3104, allocations: 107.6 kB / 0.5646 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.3107, allocations: 83.66 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3108, allocations: 103.7 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.3109, allocations: 4.234 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.311, allocations: 51.77 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3111, allocations: 51.7 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3111, allocations: 4 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.3112, allocations: 31.98 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.3113, allocations: 23.92 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.3113, allocations: 19.88 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3115, allocations: 114 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3115, allocations: 0 / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3115, allocations: 3.938 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3115, allocations: 0 / 0.5651 GB, free: 0.8867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005719/0.3121, allocations: 341.6 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3122, allocations: 8.031 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.3122, allocations: 12.84 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3125, allocations: 147 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.3125, allocations: 4.375 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3125, allocations: 8.125 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3126, allocations: 49.67 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3127, allocations: 4 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3127, allocations: 0 / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3127, allocations: 0 / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.3127, allocations: 19.92 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.3129, allocations: 129.3 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3131, allocations: 54.61 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.3131, allocations: 24.84 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3132, allocations: 4.047 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3133, allocations: 75.27 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.3133, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002939/0.3136, allocations: 97.56 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3137, allocations: 51.41 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3139, allocations: 198.3 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3139, allocations: 25.7 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.314, allocations: 108.1 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.314, allocations: 19.83 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.3141, allocations: 21.72 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3142, allocations: 322.8 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.3143, allocations: 16 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.3143, allocations: 29.7 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3144, allocations: 49.64 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3144, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001761/0.3146, allocations: 93.45 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3146, allocations: 4 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3146, allocations: 4.031 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3146, allocations: 4 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.3147, allocations: 8 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3147, allocations: 0 / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.3148, allocations: 15.92 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3148, allocations: 0 / 0.5669 GB, free: 14.79 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 (7): * Single equations (assignments): 7 * 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.0001009/0.3149, allocations: 121.1 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3149, allocations: 15.89 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3152, allocations: 102.7 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3152, allocations: 4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3152, allocations: 0 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.3152, allocations: 11.91 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3152, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.3153, allocations: 4.359 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.3153, allocations: 4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002171/0.3155, allocations: 168.9 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002792/0.3158, allocations: 270.7 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.924e-05/0.3158, allocations: 19.98 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.316, allocations: 152.2 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.316, allocations: 4 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.3179, allocations: 456.5 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006682/0.3186, allocations: 0.661 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.004765/0.3233, allocations: 1.731 MB / 0.5706 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.753325470002892]