Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 159.5 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 75.88 kB / 443.2 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3811, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002496/0.3836, allocations: 1.629 MB / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.3843, allocations: 0.5286 MB / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.3844, allocations: 0 / 0.4994 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.3847, allocations: 128.4 kB / 0.4995 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3849, allocations: 129.3 kB / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3852, allocations: 119.4 kB / 0.4997 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3854, allocations: 98.02 kB / 0.4998 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3855, allocations: 14.02 kB / 0.4999 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.3855, allocations: 45.31 kB / 0.4999 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3856, allocations: 97.66 kB / 0.5 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3857, allocations: 3.219 kB / 0.5 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.3857, allocations: 44 kB / 0.5 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.3858, allocations: 24.7 kB / 0.5001 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.3858, allocations: 37.64 kB / 0.5001 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.386, allocations: 124.3 kB / 0.5002 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.386, allocations: 4 kB / 0.5002 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.386, allocations: 0 / 0.5002 GB, free: 28.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.386, allocations: 0 / 0.5002 GB, free: 28.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004483/0.3865, allocations: 368.7 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3865, allocations: 9.75 kB / 0.5006 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3866, allocations: 15.53 kB / 0.5006 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3867, allocations: 165.5 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.3867, allocations: 384 / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3867, allocations: 3.875 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3869, allocations: 61.88 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3869, allocations: 192 / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3869, allocations: 3.938 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3869, allocations: 3.406 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.387, allocations: 32.17 kB / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.3873, allocations: 241.4 kB / 0.5011 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.3874, allocations: 53.59 kB / 0.5011 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.3874, allocations: 14.67 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3875, allocations: 7.516 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.3875, allocations: 34.56 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3875, allocations: 0 / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008244/0.3883, allocations: 248.5 kB / 0.5014 GB, free: 27.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.3883, allocations: 55.41 kB / 0.5015 GB, free: 27.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3885, allocations: 279.9 kB / 0.5017 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3885, allocations: 25.7 kB / 0.5018 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.3886, allocations: 113.2 kB / 0.5019 GB, free: 26.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3886, allocations: 30.58 kB / 0.5019 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3886, allocations: 20.19 kB / 0.5019 GB, free: 26.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.3887, allocations: 329.5 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.3887, allocations: 34.48 kB / 0.5023 GB, free: 26.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.3888, allocations: 33.61 kB / 0.5023 GB, free: 26.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.389, allocations: 84.72 kB / 0.5024 GB, free: 26.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.389, allocations: 0 / 0.5024 GB, free: 26.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001864/0.3891, allocations: 119.2 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3892, allocations: 6.281 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3892, allocations: 4 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3892, allocations: 0 / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3893, allocations: 23.22 kB / 0.5025 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3893, allocations: 0 / 0.5025 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.3893, allocations: 7.125 kB / 0.5025 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3893, allocations: 3.188 kB / 0.5025 GB, free: 26.26 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 (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.392e-05/0.3894, allocations: 141.5 kB / 0.5027 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.3894, allocations: 14.09 kB / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.3897, allocations: 130.6 kB / 0.5028 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3897, allocations: 0 / 0.5028 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3897, allocations: 3.422 kB / 0.5028 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3897, allocations: 2.719 kB / 0.5028 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3901, allocations: 376 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3901, allocations: 3.281 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.3902, allocations: 17.59 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3902, allocations: 0 / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3902, allocations: 1.5 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3902, allocations: 0.8438 kB / 0.5032 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3902, allocations: 4.656 kB / 0.5032 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.3904, allocations: 218.4 kB / 0.5034 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.3904, allocations: 15.03 kB / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3904, allocations: 3.312 kB / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.3905, allocations: 10.48 kB / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3905, allocations: 11.22 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3905, allocations: 3.156 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3906, allocations: 206.9 kB / 0.5037 GB, free: 25.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3906, allocations: 0 / 0.5037 GB, free: 25.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000242/0.3909, allocations: 23.12 kB / 0.5037 GB, free: 25.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001669/0.3926, allocations: 495.5 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3928, allocations: 76.2 kB / 0.5042 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3928, allocations: 0 / 0.5042 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.3929, allocations: 41.31 kB / 0.5043 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3932, allocations: 26.5 kB / 0.5043 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3936, allocations: 326.1 kB / 0.5046 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.3937, allocations: 109.4 kB / 0.5047 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.3938, allocations: 20.75 kB / 0.5047 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.3938, allocations: 18.11 kB / 0.5047 GB, free: 24.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3938, allocations: 0 / 0.5047 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Templates: time 0.003937/0.3977, allocations: 1.4 MB / 0.5061 GB, free: 24.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.967874275054783]