Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001357/0.001357, allocations: 81.7 kB / 21.25 MB, free: 0.5469 MB / 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.00153/0.00153, allocations: 160.5 kB / 24.5 MB, free: 3.719 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.485/1.485, allocations: 177.1 MB / 204.7 MB, free: 8.973 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.218/0.218, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 83.81 kB / 443.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2982, allocations: 66.06 MB / 0.4974 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003803/0.302, allocations: 1.722 MB / 0.499 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.304, allocations: 0.9778 MB / 0.5 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.304, allocations: 11.88 kB / 0.5 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.3044, allocations: 83.69 kB / 0.5001 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.3047, allocations: 119.6 kB / 0.5002 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3049, allocations: 83.66 kB / 0.5003 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3051, allocations: 123.6 kB / 0.5004 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3052, allocations: 15.97 kB / 0.5004 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.3053, allocations: 55.77 kB / 0.5005 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3055, allocations: 67.8 kB / 0.5005 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3055, allocations: 4 kB / 0.5005 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3056, allocations: 63.97 kB / 0.5006 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.3057, allocations: 31.84 kB / 0.5006 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3057, allocations: 23.81 kB / 0.5006 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.306, allocations: 153.7 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.306, allocations: 0 / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.306, allocations: 4 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.306, allocations: 3.938 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005764/0.3066, allocations: 377.3 kB / 0.5012 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3066, allocations: 8.031 kB / 0.5012 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3066, allocations: 16.84 kB / 0.5012 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3069, allocations: 155.1 kB / 0.5013 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3069, allocations: 4.375 kB / 0.5013 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3069, allocations: 8.359 kB / 0.5013 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3071, allocations: 69.91 kB / 0.5014 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3071, allocations: 4 kB / 0.5014 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3071, allocations: 4 kB / 0.5014 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3071, allocations: 0 / 0.5014 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.3072, allocations: 27.97 kB / 0.5014 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.3076, allocations: 240.5 kB / 0.5017 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3078, allocations: 66.42 kB / 0.5017 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.3079, allocations: 20.97 kB / 0.5018 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3079, allocations: 4 kB / 0.5018 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.3081, allocations: 71.39 kB / 0.5018 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3081, allocations: 4 kB / 0.5018 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000768/0.3088, allocations: 253.7 kB / 0.5021 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3089, allocations: 55.41 kB / 0.5021 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3091, allocations: 243.5 kB / 0.5024 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3092, allocations: 29.7 kB / 0.5024 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.3092, allocations: 124 kB / 0.5025 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3093, allocations: 31.73 kB / 0.5025 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.3093, allocations: 25.72 kB / 0.5026 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3095, allocations: 326.8 kB / 0.5029 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.3095, allocations: 39.92 kB / 0.5029 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.3096, allocations: 49.69 kB / 0.503 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3098, allocations: 77.7 kB / 0.503 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3098, allocations: 0 / 0.503 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.31, allocations: 137.5 kB / 0.5032 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.31, allocations: 4 kB / 0.5032 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.31, allocations: 0 / 0.5032 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3101, allocations: 4 kB / 0.5032 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.3101, allocations: 23.97 kB / 0.5032 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3101, allocations: 0 / 0.5032 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.3102, allocations: 7.984 kB / 0.5032 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3102, allocations: 4 kB / 0.5032 GB, free: 11.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001175/0.3103, allocations: 134.6 kB / 0.5033 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3104, allocations: 19.91 kB / 0.5033 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.3107, allocations: 155.2 kB / 0.5035 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3107, allocations: 0 / 0.5035 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3107, allocations: 4 kB / 0.5035 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3107, allocations: 0 / 0.5035 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.3112, allocations: 399.8 kB / 0.5039 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3112, allocations: 0 / 0.5039 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.3113, allocations: 19.92 kB / 0.5039 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.3113, allocations: 4 kB / 0.5039 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3113, allocations: 0 / 0.5039 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3113, allocations: 7.938 kB / 0.5039 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3113, allocations: 0 / 0.5039 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3116, allocations: 245.1 kB / 0.5041 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.3116, allocations: 19.97 kB / 0.5042 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3116, allocations: 4 kB / 0.5042 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.3117, allocations: 15.86 kB / 0.5042 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3118, allocations: 15.98 kB / 0.5042 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3118, allocations: 4 kB / 0.5042 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.312, allocations: 175.2 kB / 0.5044 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.312, allocations: 4 kB / 0.5044 GB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3122, allocations: 27.94 kB / 0.5044 GB, free: 10.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002068/0.3143, allocations: 0.5269 MB / 0.5049 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3145, allocations: 83.84 kB / 0.505 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3145, allocations: 0 / 0.505 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.3146, allocations: 39.92 kB / 0.505 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.315, allocations: 34.81 kB / 0.5051 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.3155, allocations: 300.3 kB / 0.5054 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3157, allocations: 110 kB / 0.5055 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.3157, allocations: 20.62 kB / 0.5055 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.3158, allocations: 20.48 kB / 0.5055 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3158, allocations: 0 / 0.5055 GB, free: 9.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005496/0.3213, allocations: 2.085 MB / 0.5075 GB, free: 7.008 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.85511296405457]