Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.00162/0.00162, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001862/0.001862, allocations: 209.8 kB / 24.49 MB, free: 4.137 MB / 14.72 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.2045/0.2045, allocations: 46.94 MB / 361.6 MB, free: 4.273 MB / 286.1 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 66.02 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002856/0.3262, allocations: 1.624 MB / 0.5635 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.3272, allocations: 0.5464 MB / 0.564 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3272, allocations: 0 / 0.564 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.3274, allocations: 27.84 kB / 0.564 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.3277, allocations: 79.62 kB / 0.5641 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3279, allocations: 87.7 kB / 0.5642 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.328, allocations: 67.83 kB / 0.5643 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.3281, allocations: 11.92 kB / 0.5643 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.3282, allocations: 23.86 kB / 0.5643 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.3282, allocations: 27.86 kB / 0.5643 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3282, allocations: 4 kB / 0.5643 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.3283, allocations: 31.98 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.3284, allocations: 19.92 kB / 0.5644 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.3284, allocations: 19.81 kB / 0.5644 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.3286, allocations: 86.05 kB / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3286, allocations: 0 / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3286, allocations: 0 / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.3286, allocations: 7.938 kB / 0.5645 GB, free: 1.754 MB / 398.1 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.0004158/0.329, allocations: 316.2 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.329, allocations: 12.03 kB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.329, allocations: 8.891 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3292, allocations: 130.4 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3292, allocations: 8.375 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3292, allocations: 4.375 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3294, allocations: 53.8 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3294, allocations: 0 / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3294, allocations: 0 / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3294, allocations: 4 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.3295, allocations: 23.92 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.3298, allocations: 251.9 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.33, allocations: 38.56 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.3301, allocations: 16.94 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3301, allocations: 7.938 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3301, allocations: 30.56 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3301, allocations: 0 / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005203/0.3306, allocations: 145.4 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3307, allocations: 55.39 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3308, allocations: 172.1 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3308, allocations: 25.7 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.3309, allocations: 100.1 kB / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.3309, allocations: 15.86 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3309, allocations: 21.7 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3311, allocations: 322.8 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.3312, allocations: 19.98 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.3312, allocations: 15.98 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3313, allocations: 40.84 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3313, allocations: 3.938 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001796/0.3315, allocations: 93.55 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3315, allocations: 6.5 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3315, allocations: 0 / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3315, allocations: 0 / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.3316, allocations: 15.98 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3316, allocations: 0 / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.3316, allocations: 8.188 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3316, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 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 9.066e-05/0.3317, allocations: 133.7 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3318, allocations: 7.953 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.332, allocations: 98 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.332, allocations: 0 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.332, allocations: 0 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.332, allocations: 3.938 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.3324, allocations: 317.6 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3324, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3325, allocations: 12 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3325, allocations: 288 / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3325, allocations: 3.938 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3325, allocations: 3.938 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3325, allocations: 3.984 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3327, allocations: 179.5 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.3327, allocations: 7.938 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3327, allocations: 3.938 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.3328, allocations: 7.984 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.3328, allocations: 8 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3328, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.3329, allocations: 123.2 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3329, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3331, allocations: 19.94 kB / 0.5672 GB, free: 14.64 MB / 414.1 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.001412/0.3346, allocations: 411 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3347, allocations: 47.91 kB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3347, allocations: 0 / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.3348, allocations: 19.98 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3351, allocations: 15.98 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.3355, allocations: 223.8 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3358, allocations: 0.699 MB / 0.5686 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.3358, allocations: 15.42 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3358, allocations: 0 / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.003048/0.3389, allocations: 1.446 MB / 0.57 GB, free: 11.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 7.4620850761421025]