Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0008127/0.0008127, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007724/0.0007724, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7796/0.7796, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.119/0.119, allocations: 32.38 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.934e-05, allocations: 9.938 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002115/0.002145, allocations: 1.561 MB / 409.7 MB, free: 160 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004936/0.002638, allocations: 315.6 kB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.002692, allocations: 0 / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.002956, allocations: 95.69 kB / 410.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.003122, allocations: 75.61 kB / 410.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.003295, allocations: 71.72 kB / 410.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.003438, allocations: 79.81 kB / 410.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.003535, allocations: 16.17 kB / 410.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.003606, allocations: 47.88 kB / 410.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.0037, allocations: 55.88 kB / 410.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.003721, allocations: 4 kB / 410.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.003794, allocations: 31.92 kB / 410.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.003853, allocations: 27.86 kB / 410.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.003881, allocations: 11.92 kB / 410.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.004053, allocations: 103.6 kB / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004056, allocations: 3.938 kB / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.004058, allocations: 0 / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.004062, allocations: 0 / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003668/0.004429, allocations: 349.6 kB / 410.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.004461, allocations: 8.031 kB / 410.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.004496, allocations: 16.88 kB / 411 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004654, allocations: 137.6 kB / 411.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.004664, allocations: 8.312 kB / 411.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.004684, allocations: 4.375 kB / 411.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.004798, allocations: 62.2 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.004808, allocations: 192 / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.004818, allocations: 11.88 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004823, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.004886, allocations: 35.97 kB / 411.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.005141, allocations: 236.5 kB / 411.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.005221, allocations: 58.44 kB / 411.5 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.005251, allocations: 20.97 kB / 411.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.005273, allocations: 4 kB / 411.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.00529, allocations: 30.56 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.00529, allocations: 0 / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004217/0.005712, allocations: 189.2 kB / 411.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.005742, allocations: 55.41 kB / 411.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.005895, allocations: 226.8 kB / 412 MB, free: 13.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005907, allocations: 29.7 kB / 412 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.005954, allocations: 112.2 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.005975, allocations: 23.75 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.006004, allocations: 21.72 kB / 412.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.006082, allocations: 326.8 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.006129, allocations: 27.97 kB / 412.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.006165, allocations: 31.92 kB / 412.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.006248, allocations: 61.05 kB / 412.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006249, allocations: 0 / 412.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001171/0.006366, allocations: 101.6 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006378, allocations: 4 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006382, allocations: 0 / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006395, allocations: 4.375 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.006474, allocations: 19.98 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00648, allocations: 3.938 kB / 412.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.006501, allocations: 11.98 kB / 412.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.006507, allocations: 4 kB / 412.8 MB, free: 12.87 MB / 394.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.89e-05/0.006576, allocations: 133.8 kB / 412.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.006593, allocations: 11.91 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.006749, allocations: 123 kB / 413 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006751, allocations: 0 / 413 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006755, allocations: 4 kB / 413.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006758, allocations: 3.938 kB / 413.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.007031, allocations: 330.1 kB / 413.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007033, allocations: 7.984 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.007068, allocations: 16 kB / 413.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.00707, allocations: 0 / 413.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007076, allocations: 0 / 413.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.007081, allocations: 7.984 kB / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007081, allocations: 0 / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007217, allocations: 203.3 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.007229, allocations: 11.94 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.00724, allocations: 0 / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.007273, allocations: 4 kB / 413.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.007307, allocations: 11.98 kB / 413.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.00731, allocations: 0 / 413.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.007422, allocations: 183.2 kB / 413.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007422, allocations: 0 / 413.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.007585, allocations: 19.94 kB / 413.8 MB, free: 11.75 MB / 394.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.0006505/0.008235, allocations: 439.7 kB / 414.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.00838, allocations: 63.89 kB / 414.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008382, allocations: 0 / 414.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.008431, allocations: 36.12 kB / 414.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.008671, allocations: 12.14 kB / 414.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.009054, allocations: 298.7 kB / 414.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.996e-05/0.009124, allocations: 96.81 kB / 414.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.009158, allocations: 16.48 kB / 414.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009158, allocations: 0 / 414.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of Templates: time 0.002412/0.01157, allocations: 1.743 MB / 416.5 MB, free: 9.031 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.563851982355118]