Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.0018/0.0018, allocations: 81.78 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.002471/0.002471, allocations: 163 kB / 24.5 MB, free: 3.715 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.508/1.508, allocations: 177.1 MB / 204.7 MB, free: 8.977 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.2129/0.2129, allocations: 34.27 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.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 79.88 kB / 443.2 MB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3351, allocations: 66.07 MB / 0.4974 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002489/0.3376, allocations: 1.736 MB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3389, allocations: 0.9683 MB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.339, allocations: 3.188 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3393, allocations: 91.12 kB / 0.5001 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.3396, allocations: 115 kB / 0.5002 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3397, allocations: 84.36 kB / 0.5003 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3399, allocations: 120.6 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.34, allocations: 18.7 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.3401, allocations: 49.53 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3402, allocations: 59.03 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.3402, allocations: 6.438 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3403, allocations: 69.91 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.3404, allocations: 25.92 kB / 0.5006 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.3404, allocations: 32.78 kB / 0.5006 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3406, allocations: 139.7 kB / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3406, allocations: 0 / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3406, allocations: 0 / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3406, allocations: 0 / 0.5008 GB, free: 27.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004532/0.3411, allocations: 370.2 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3411, allocations: 9.594 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3412, allocations: 14.91 kB / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3414, allocations: 164.5 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3414, allocations: 7.125 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3414, allocations: 7.438 kB / 0.5013 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3416, allocations: 63.91 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3416, allocations: 0 / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3416, allocations: 3.984 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3416, allocations: 3.219 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.3417, allocations: 20.25 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.3419, allocations: 245.5 kB / 0.5016 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3422, allocations: 68.61 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3422, allocations: 25.66 kB / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3423, allocations: 0 / 0.5017 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.3424, allocations: 69.25 kB / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3424, allocations: 0 / 0.5018 GB, free: 26.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007092/0.3431, allocations: 254.8 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3431, allocations: 58.44 kB / 0.5021 GB, free: 26.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3433, allocations: 223.9 kB / 0.5023 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3433, allocations: 29.7 kB / 0.5023 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.3433, allocations: 113.4 kB / 0.5024 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3434, allocations: 34 kB / 0.5025 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3434, allocations: 30.34 kB / 0.5025 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.3435, allocations: 336.6 kB / 0.5028 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.3435, allocations: 27.06 kB / 0.5029 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.3436, allocations: 46.92 kB / 0.5029 GB, free: 25.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3437, allocations: 80.14 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3437, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002029/0.3439, allocations: 137.2 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.344, allocations: 5.188 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.344, allocations: 3.219 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.344, allocations: 0 / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.3441, allocations: 25.48 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3441, allocations: 0 / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.3441, allocations: 10.94 kB / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3441, allocations: 2.906 kB / 0.5032 GB, free: 25.79 MB / 446.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 7.817e-05/0.3442, allocations: 133.2 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3442, allocations: 14.44 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3445, allocations: 162.7 kB / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3445, allocations: 0 / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3445, allocations: 0 / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3445, allocations: 3.406 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3449, allocations: 396.6 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3449, allocations: 0 / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.345, allocations: 12.88 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.345, allocations: 0 / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.345, allocations: 10.73 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.345, allocations: 11.03 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.345, allocations: 0 / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3452, allocations: 247.5 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3452, allocations: 14.03 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3452, allocations: 0 / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.3453, allocations: 18.53 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3453, allocations: 9.453 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3454, allocations: 3 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.3455, allocations: 173.6 kB / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3455, allocations: 3.938 kB / 0.5043 GB, free: 24.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3457, allocations: 37.7 kB / 0.5043 GB, free: 24.92 MB / 446.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.002026/0.3477, allocations: 0.5315 MB / 0.5049 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.348, allocations: 83.92 kB / 0.5049 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.348, allocations: 0 / 0.5049 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.348, allocations: 39.8 kB / 0.505 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3484, allocations: 37.75 kB / 0.505 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.3489, allocations: 284.3 kB / 0.5053 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.3489, allocations: 101 kB / 0.5054 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.349, allocations: 20.52 kB / 0.5054 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.349, allocations: 25.81 kB / 0.5054 GB, free: 24.31 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.349, allocations: 4 kB / 0.5054 GB, free: 24.3 MB / 446.1 MB Notification: Performance of Templates: time 0.004852/0.3539, allocations: 2.071 MB / 0.5075 GB, free: 24.03 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.970491086016409]