Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001074/0.001074, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001717/0.001717, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.014/1.014, allocations: 177.2 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2781/0.2781, allocations: 32.8 MB / 294.3 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.992e-05, allocations: 6.312 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002457/0.002487, allocations: 1.642 MB / 377.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.003243, allocations: 0.5492 MB / 378.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.003296, allocations: 4 kB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.003509, allocations: 27.84 kB / 378.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.003741, allocations: 79.55 kB / 378.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.003985, allocations: 91.69 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.004154, allocations: 83.7 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.004249, allocations: 7.938 kB / 378.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.004316, allocations: 39.89 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.004389, allocations: 23.92 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.004406, allocations: 4 kB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.004568, allocations: 95.81 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.004617, allocations: 23.91 kB / 378.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.00465, allocations: 11.94 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.004902, allocations: 147.5 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004905, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004906, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004911, allocations: 3.938 kB / 378.9 MB, free: 1.773 MB / 346.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.000458/0.005369, allocations: 435.9 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005407, allocations: 8.031 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.005456, allocations: 12.89 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.005623, allocations: 140.5 kB / 379.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.005634, allocations: 384 / 379.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.005663, allocations: 12.38 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.005824, allocations: 100 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005833, allocations: 192 / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005845, allocations: 8.062 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.005853, allocations: 0 / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.005891, allocations: 11.98 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.006265, allocations: 287.8 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.006347, allocations: 51 kB / 379.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.006376, allocations: 19.61 kB / 379.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.006401, allocations: 8 kB / 379.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.006425, allocations: 37.33 kB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.006427, allocations: 0 / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004277/0.006855, allocations: 137.5 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.006892, allocations: 77.11 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007046, allocations: 208.5 kB / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.007058, allocations: 25.7 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.00713, allocations: 138.9 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.007155, allocations: 31.73 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.007196, allocations: 23.38 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.007317, allocations: 0.4962 MB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.007349, allocations: 12 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.007399, allocations: 61 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.007462, allocations: 35.67 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007463, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001226/0.007586, allocations: 81.52 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.0076, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007605, allocations: 384 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.007621, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.007715, allocations: 19.98 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.007722, allocations: 4 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.007752, allocations: 12.03 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007759, allocations: 0 / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.531e-05/0.007835, allocations: 160.6 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.007869, allocations: 19.78 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.00803, allocations: 90.48 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.008034, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.008038, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008041, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.008375, allocations: 353.3 kB / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008377, allocations: 4 kB / 381.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.008431, allocations: 15.98 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.008435, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.008442, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008444, allocations: 3.938 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.008445, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.008592, allocations: 231.8 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.008604, allocations: 7.953 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.008619, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.008673, allocations: 4 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.008705, allocations: 7.984 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.008713, allocations: 11.98 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.008794, allocations: 155.1 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008794, allocations: 0 / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.009089, allocations: 43.86 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001225/0.01031, allocations: 0.5002 MB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01044, allocations: 47.59 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01045, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.01048, allocations: 23.69 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01076, allocations: 19.92 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.01115, allocations: 194.2 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.01119, allocations: 63.34 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.01125, allocations: 28.61 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.01129, allocations: 16.5 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01129, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004573/0.01586, allocations: 2.05 MB / 385.3 MB, free: 11.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3704042988829315]