Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0009112/0.0009112, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009484/0.0009484, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2864/0.2864, allocations: 34.26 MB / 296 MB, free: 0.7188 MB / 266.7 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.71e-05, allocations: 5.688 kB / 378.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002639/0.002676, allocations: 1.646 MB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.003523, allocations: 0.5492 MB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003592, allocations: 0 / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.003883, allocations: 95.61 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.004161, allocations: 111.5 kB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.004428, allocations: 115.6 kB / 380.6 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.004591, allocations: 87.7 kB / 380.6 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004697, allocations: 11.98 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.004763, allocations: 43.89 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004865, allocations: 59.86 kB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004879, allocations: 0 / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.004972, allocations: 47.92 kB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.005029, allocations: 23.91 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.005063, allocations: 11.94 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.005248, allocations: 107.5 kB / 380.9 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.005252, allocations: 0 / 380.9 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.005255, allocations: 4 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.005259, allocations: 0 / 380.9 MB, free: 16 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005354/0.005795, allocations: 447.8 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.005837, allocations: 12.03 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.005887, allocations: 8.891 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.006062, allocations: 152.4 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.006077, allocations: 4.375 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.006112, allocations: 4.375 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.006294, allocations: 66.88 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.00631, allocations: 4.125 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.006323, allocations: 4.125 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.006335, allocations: 4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.006378, allocations: 7.984 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.006819, allocations: 299.7 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.006916, allocations: 46.98 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.00695, allocations: 15.62 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.006981, allocations: 0 / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.007012, allocations: 33.39 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.007013, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006256/0.007639, allocations: 185.7 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.007673, allocations: 51.41 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.007831, allocations: 245.9 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.007844, allocations: 29.7 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.007908, allocations: 158.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.007937, allocations: 31.73 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007969, allocations: 23.38 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.00812, allocations: 0.5079 MB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.008146, allocations: 11.92 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.008167, allocations: 12 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.008225, allocations: 39.67 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.008225, allocations: 0 / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.534e-05/0.008321, allocations: 69.64 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.008337, allocations: 5.719 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.008343, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.008357, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.008427, allocations: 23.94 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.008434, allocations: 3.984 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.008451, allocations: 4 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.008457, allocations: 4 kB / 383.4 MB, free: 13.33 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 (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 prepare postOptimizeDAE: time 6.852e-05/0.008526, allocations: 160.5 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.008547, allocations: 19.84 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.008684, allocations: 91.42 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008686, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.00869, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008693, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.008988, allocations: 393 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.00899, allocations: 7.969 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.009034, allocations: 12 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.009037, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.009045, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009047, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.009048, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.00918, allocations: 247.4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.009189, allocations: 7.953 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.009202, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.009239, allocations: 8 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.00927, allocations: 7.922 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.009275, allocations: 8 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.009356, allocations: 179.1 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009356, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00017/0.009526, allocations: 19.94 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000922/0.01045, allocations: 429.7 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01056, allocations: 43.61 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01057, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.0106, allocations: 31.67 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01082, allocations: 19.98 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.01121, allocations: 257.6 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01127, allocations: 79.27 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.01131, allocations: 17.02 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.01134, allocations: 16.5 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01135, allocations: 64 / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003529/0.01487, allocations: 1.417 MB / 386.9 MB, free: 9.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.2261149850673974]