Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001323/0.001323, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001465/0.001465, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 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.2251/0.2251, allocations: 32.81 MB / 294.1 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.89 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002933/0.3766, allocations: 1.609 MB / 0.4957 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.3776, allocations: 0.5308 MB / 0.4963 GB, free: 30 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.3776, allocations: 3.125 kB / 0.4963 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.3779, allocations: 29.98 kB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.3782, allocations: 75.88 kB / 0.4964 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3784, allocations: 101 kB / 0.4965 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3786, allocations: 69.77 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3787, allocations: 10.28 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.3787, allocations: 36.53 kB / 0.4966 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.3788, allocations: 30.56 kB / 0.4966 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3788, allocations: 3 kB / 0.4966 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.379, allocations: 95.39 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.379, allocations: 15.11 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.379, allocations: 21.8 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3793, allocations: 158.9 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3793, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3793, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3793, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004587/0.3798, allocations: 336.8 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3798, allocations: 9.062 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.3798, allocations: 7.953 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.38, allocations: 141 kB / 0.4973 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.38, allocations: 8.25 kB / 0.4974 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3801, allocations: 3.5 kB / 0.4974 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3802, allocations: 99.39 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3802, allocations: 0 / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3802, allocations: 0 / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3802, allocations: 0 / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.3803, allocations: 36.97 kB / 0.4975 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.3807, allocations: 246.8 kB / 0.4977 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3808, allocations: 59.36 kB / 0.4978 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.3809, allocations: 29.03 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3809, allocations: 4 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3809, allocations: 34.12 kB / 0.4978 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3809, allocations: 0 / 0.4978 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006266/0.3815, allocations: 180.1 kB / 0.498 GB, free: 28.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3816, allocations: 84.05 kB / 0.4981 GB, free: 28.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3817, allocations: 147.1 kB / 0.4982 GB, free: 28.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.3817, allocations: 28.61 kB / 0.4983 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3818, allocations: 106.2 kB / 0.4984 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3818, allocations: 22.73 kB / 0.4984 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.3818, allocations: 30.16 kB / 0.4984 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.3819, allocations: 322.3 kB / 0.4987 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.3819, allocations: 25.64 kB / 0.4987 GB, free: 28.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.382, allocations: 72.16 kB / 0.4988 GB, free: 27.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3822, allocations: 73.86 kB / 0.4989 GB, free: 27.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3822, allocations: 0 / 0.4989 GB, free: 27.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002061/0.3824, allocations: 123.3 kB / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3824, allocations: 6.281 kB / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3824, allocations: 0 / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3824, allocations: 0 / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3825, allocations: 22.44 kB / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3825, allocations: 7 kB / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3826, allocations: 3.188 kB / 0.499 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3826, allocations: 0 / 0.499 GB, free: 27.86 MB / 446.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 (9): * Single equations (assignments): 9 * 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 8.525e-05/0.3827, allocations: 131.8 kB / 0.4992 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.3827, allocations: 14.08 kB / 0.4992 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.383, allocations: 117.4 kB / 0.4993 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.383, allocations: 0 / 0.4993 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.383, allocations: 3.156 kB / 0.4993 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.383, allocations: 0 / 0.4993 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3834, allocations: 340.4 kB / 0.4996 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3834, allocations: 0 / 0.4996 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.3834, allocations: 23.53 kB / 0.4996 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3834, allocations: 0 / 0.4996 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3835, allocations: 3.188 kB / 0.4996 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3835, allocations: 0 / 0.4996 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3835, allocations: 3.938 kB / 0.4997 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3837, allocations: 202.5 kB / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.3837, allocations: 7.141 kB / 0.4999 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3837, allocations: 0 / 0.4999 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3838, allocations: 13.52 kB / 0.4999 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3838, allocations: 11.94 kB / 0.4999 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3838, allocations: 6.484 kB / 0.4999 GB, free: 27.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.3839, allocations: 118.9 kB / 0.5 GB, free: 27.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 0.5 GB, free: 27.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3842, allocations: 47.55 kB / 0.5 GB, free: 27.09 MB / 446.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 (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.001817/0.386, allocations: 0.531 MB / 0.5006 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3862, allocations: 66.75 kB / 0.5006 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3862, allocations: 0 / 0.5006 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.3863, allocations: 45.05 kB / 0.5007 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3867, allocations: 16.81 kB / 0.5007 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3871, allocations: 198.5 kB / 0.5009 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.3872, allocations: 84.44 kB / 0.501 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.3872, allocations: 21.36 kB / 0.501 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3873, allocations: 25.17 kB / 0.501 GB, free: 26.58 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3873, allocations: 0 / 0.501 GB, free: 26.58 MB / 446.1 MB Notification: Performance of Templates: time 0.004931/0.3922, allocations: 1.994 MB / 0.5029 GB, free: 26.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.070991261978634]