Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.0009813/0.0009813, allocations: 95.2 kB / 20.42 MB, free: 4.145 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.00102/0.00102, allocations: 165 kB / 23.8 MB, free: 0.7773 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.8823/0.8823, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1436/0.1436, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.701e-05, allocations: 2.312 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002321/0.002348, allocations: 1.619 MB / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.002851, allocations: 331.3 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.002908, allocations: 4 kB / 349.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.003188, allocations: 95.67 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.003361, allocations: 71.73 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.003567, allocations: 91.73 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.003713, allocations: 83.75 kB / 350 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.003811, allocations: 8.188 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.00387, allocations: 51.88 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.003956, allocations: 55.86 kB / 350.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003973, allocations: 4 kB / 350.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.004038, allocations: 35.92 kB / 350.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.004088, allocations: 23.92 kB / 350.1 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.004118, allocations: 19.92 kB / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.004261, allocations: 87.66 kB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.004264, allocations: 3.938 kB / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.004265, allocations: 0 / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.00427, allocations: 0 / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003818/0.004652, allocations: 443.9 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.004694, allocations: 8.031 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.004739, allocations: 16.84 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004862, allocations: 152.4 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.004871, allocations: 4.375 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.004896, allocations: 12.31 kB / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.005024, allocations: 86.25 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005035, allocations: 4.188 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005046, allocations: 3.938 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005053, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.005089, allocations: 11.98 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.005382, allocations: 442.6 kB / 351.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.00558, allocations: 94.05 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.00562, allocations: 27.38 kB / 351.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.005646, allocations: 4 kB / 351.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.005663, allocations: 37.39 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005664, allocations: 0 / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004668/0.006131, allocations: 169.2 kB / 351.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.006154, allocations: 77.11 kB / 351.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.00628, allocations: 246.6 kB / 352 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.006288, allocations: 29.7 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.006332, allocations: 158.8 kB / 352.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.006359, allocations: 35.69 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006398, allocations: 31.38 kB / 352.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.006455, allocations: 0.5079 MB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.006483, allocations: 15.92 kB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.006518, allocations: 27.38 kB / 352.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.006587, allocations: 55.48 kB / 352.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006588, allocations: 0 / 352.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.006701, allocations: 89.53 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.006714, allocations: 4 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006719, allocations: 4 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.006736, allocations: 0 / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.0068, allocations: 19.98 kB / 353 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006805, allocations: 4 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.006833, allocations: 4 kB / 353 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.006839, allocations: 0 / 353 MB, free: 3.816 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 4.975e-05/0.006889, allocations: 172.4 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.006933, allocations: 15.95 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.007082, allocations: 102.7 kB / 353.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007083, allocations: 0 / 353.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007087, allocations: 4.188 kB / 353.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007091, allocations: 0 / 353.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.007453, allocations: 0.5119 MB / 353.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007455, allocations: 0 / 353.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.007509, allocations: 23.92 kB / 353.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007512, allocations: 0 / 353.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.00752, allocations: 4 kB / 353.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007523, allocations: 0 / 353.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007524, allocations: 3.984 kB / 353.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.00766, allocations: 370.8 kB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.007671, allocations: 7.953 kB / 354.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.007686, allocations: 4 kB / 354.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.00777, allocations: 4 kB / 354.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.007807, allocations: 15.95 kB / 354.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.007813, allocations: 4 kB / 354.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.007874, allocations: 175.2 kB / 354.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007874, allocations: 0 / 354.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.008155, allocations: 31.88 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008418/0.008997, allocations: 378.1 kB / 354.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.009122, allocations: 51.67 kB / 354.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009124, allocations: 0 / 354.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.009161, allocations: 35.61 kB / 354.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.009516, allocations: 25.17 kB / 354.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.009879, allocations: 266 kB / 355.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.009923, allocations: 71.33 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.009971, allocations: 20.84 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.01, allocations: 20.48 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01, allocations: 0 / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Templates: time 0.003227/0.01323, allocations: 1.335 MB / 356.6 MB, free: 152 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.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.220378703903407]