Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.002527/0.002527, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002937/0.002937, allocations: 169.3 kB / 24.28 MB, free: 152 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3399/0.3399, allocations: 32.8 MB / 293.9 MB, free: 1.223 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.258e-05, allocations: 6.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003283/0.003316, allocations: 1.611 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.005744, allocations: 1.259 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.00581, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.006099, allocations: 35.72 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.006485, allocations: 91.53 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.006852, allocations: 103.7 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.007038, allocations: 75.7 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.007144, allocations: 8 kB / 378.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.007233, allocations: 35.89 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.00738, allocations: 23.92 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.007407, allocations: 4 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.007605, allocations: 95.81 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.007676, allocations: 19.91 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.00771, allocations: 8 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.008007, allocations: 147.5 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.00801, allocations: 4 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008012, allocations: 0 / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.008017, allocations: 0 / 378.8 MB, free: 1.457 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006037/0.008621, allocations: 423.7 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.008657, allocations: 8.031 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.008716, allocations: 20.83 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.008935, allocations: 143.4 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.008947, allocations: 8.375 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.008966, allocations: 384 / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.009144, allocations: 91.33 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009156, allocations: 192 / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.009168, allocations: 4.125 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.009174, allocations: 4 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.009256, allocations: 15.98 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.009713, allocations: 287.7 kB / 379.8 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.009954, allocations: 51.03 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.01001, allocations: 19.69 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01003, allocations: 3.938 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.01006, allocations: 37.39 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.01006, allocations: 0 / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005674/0.01063, allocations: 129.5 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.01072, allocations: 81.05 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.01093, allocations: 209.8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01096, allocations: 25.7 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01107, allocations: 146.9 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.01109, allocations: 19.91 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.01115, allocations: 27.36 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.01142, allocations: 0.4884 MB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.0115, allocations: 15.98 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.01159, allocations: 61.06 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01171, allocations: 39.67 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01171, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.01189, allocations: 81.7 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01191, allocations: 9.906 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.01192, allocations: 7.984 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01193, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.01199, allocations: 8 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.012, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.01204, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.01205, allocations: 3.938 kB / 381.2 MB, free: 14.79 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 (5): * Single equations (assignments): 5 * 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.0001338/0.01218, allocations: 164.6 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01222, allocations: 11.89 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.0125, allocations: 86.09 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0125, allocations: 3.938 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.0125, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01251, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.01299, allocations: 349.4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01299, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.01304, allocations: 11.98 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01305, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01306, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01306, allocations: 0 / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.01306, allocations: 8 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.01336, allocations: 227.8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.01338, allocations: 7.953 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.0134, allocations: 256 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.01346, allocations: 8 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.01351, allocations: 3.984 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.01351, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.01365, allocations: 163.2 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01365, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000285/0.01393, allocations: 35.88 kB / 382.3 MB, free: 13.65 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 (5): * Single equations (assignments): 5 * 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.003303/0.01724, allocations: 0.5222 MB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.01745, allocations: 51.59 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01745, allocations: 4 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.01753, allocations: 23.69 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.01785, allocations: 27.02 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.01836, allocations: 177.9 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.01845, allocations: 75.33 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.01852, allocations: 19.92 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.01857, allocations: 16.48 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01857, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.005969/0.02454, allocations: 1.846 MB / 385 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 5.017159151961096]