Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001308/0.001308, allocations: 75.75 kB / 21.25 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.00161/0.00161, allocations: 164.3 kB / 24.5 MB, free: 3.449 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.464/1.464, allocations: 177.1 MB / 204.7 MB, free: 8.871 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.2104/0.2104, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003713/0.003713, allocations: 75.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3082, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002396/0.3106, allocations: 1.633 MB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007705/0.3113, allocations: 0.5278 MB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3114, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3116, allocations: 75.53 kB / 0.4995 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.3118, allocations: 108.1 kB / 0.4996 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3121, allocations: 113.7 kB / 0.4997 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3122, allocations: 84.67 kB / 0.4998 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.3123, allocations: 14.17 kB / 0.4998 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.3124, allocations: 38.83 kB / 0.4998 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.3125, allocations: 60.64 kB / 0.4999 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3125, allocations: 3.25 kB / 0.4999 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.3125, allocations: 45.05 kB / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.3126, allocations: 28.06 kB / 0.4999 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3126, allocations: 21.47 kB / 0.5 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3128, allocations: 108 kB / 0.5001 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3128, allocations: 4 kB / 0.5001 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3128, allocations: 0 / 0.5001 GB, free: 28.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3128, allocations: 0 / 0.5001 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.0003657/0.3132, allocations: 346.6 kB / 0.5004 GB, free: 27.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.3132, allocations: 6.375 kB / 0.5004 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3132, allocations: 15.31 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3133, allocations: 146.9 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3134, allocations: 4.375 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3134, allocations: 3.562 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3135, allocations: 57.39 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3135, allocations: 7.406 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3135, allocations: 3.938 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3135, allocations: 0 / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.3136, allocations: 26.77 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.3139, allocations: 238.7 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.314, allocations: 53.42 kB / 0.5009 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.314, allocations: 18.2 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3141, allocations: 7.359 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3141, allocations: 37.75 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3141, allocations: 0 / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007975/0.3149, allocations: 236.7 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.3149, allocations: 51.41 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.315, allocations: 220 kB / 0.5015 GB, free: 26.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.315, allocations: 29.7 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.3151, allocations: 109.8 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3151, allocations: 26.94 kB / 0.5016 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3151, allocations: 23.5 kB / 0.5017 GB, free: 26.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.3152, allocations: 333.3 kB / 0.502 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.3153, allocations: 30.77 kB / 0.502 GB, free: 26.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.3153, allocations: 30.42 kB / 0.502 GB, free: 26.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3155, allocations: 77.77 kB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3155, allocations: 8 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001872/0.3156, allocations: 112 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3157, allocations: 9.156 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3157, allocations: 0 / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3157, allocations: 0 / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.3158, allocations: 30.38 kB / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3158, allocations: 0 / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.3158, allocations: 3.031 kB / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3158, allocations: 7.281 kB / 0.5023 GB, free: 26.31 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.101e-05/0.3159, allocations: 130.8 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3159, allocations: 14.22 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3162, allocations: 127.8 kB / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3162, allocations: 0 / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3162, allocations: 0 / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3162, allocations: 0 / 0.5025 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.3166, allocations: 373.5 kB / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3166, allocations: 0 / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.3167, allocations: 18.72 kB / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3167, allocations: 0 / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3167, allocations: 0 / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3167, allocations: 3.062 kB / 0.5029 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3167, allocations: 3.938 kB / 0.5029 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3169, allocations: 212.8 kB / 0.5031 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.3169, allocations: 10.78 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3169, allocations: 7.547 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.317, allocations: 10.59 kB / 0.5031 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.317, allocations: 7.5 kB / 0.5032 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.317, allocations: 3.062 kB / 0.5032 GB, free: 25.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.3171, allocations: 171.8 kB / 0.5033 GB, free: 25.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3171, allocations: 0 / 0.5033 GB, free: 25.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3174, allocations: 12.84 kB / 0.5033 GB, free: 25.52 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.001747/0.3191, allocations: 495.9 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.3193, allocations: 75.59 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3193, allocations: 0 / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.3194, allocations: 36.23 kB / 0.5039 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3197, allocations: 24.47 kB / 0.5039 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.3201, allocations: 267.9 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.3202, allocations: 99.88 kB / 0.5043 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.602e-05/0.3203, allocations: 21.36 kB / 0.5043 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3203, allocations: 18.62 kB / 0.5043 GB, free: 24.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3203, allocations: 0 / 0.5043 GB, free: 24.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003897/0.3242, allocations: 1.393 MB / 0.5057 GB, free: 24.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.041304031969048]