Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.00211/0.00211, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002498/0.002498, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.269/0.269, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.956e-05/4.134e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003389/0.00343, allocations: 1.712 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.005275, allocations: 1.494 MB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.005353, allocations: 0 / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.00575, allocations: 35.72 kB / 350.3 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.006038, allocations: 67.62 kB / 350.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.006288, allocations: 87.69 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.006463, allocations: 91.7 kB / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.006583, allocations: 12.22 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.006697, allocations: 59.77 kB / 350.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.006848, allocations: 27.91 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.006874, allocations: 4 kB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.007004, allocations: 59.91 kB / 350.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.007069, allocations: 19.92 kB / 350.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.007121, allocations: 23.91 kB / 350.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.007394, allocations: 123.5 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.007399, allocations: 4 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.007401, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.007409, allocations: 4 kB / 350.8 MB, free: 5.891 MB / 282.7 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.0006226/0.008031, allocations: 435.6 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.008073, allocations: 8.031 kB / 351.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.008147, allocations: 20.89 kB / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.008376, allocations: 140.4 kB / 351.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.008395, allocations: 4.375 kB / 351.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.008422, allocations: 4.375 kB / 351.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.008633, allocations: 103.2 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.008651, allocations: 7.938 kB / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.008663, allocations: 0 / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.008669, allocations: 8 kB / 351.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.00875, allocations: 15.98 kB / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.009142, allocations: 283.8 kB / 351.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.009318, allocations: 63.09 kB / 351.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.00937, allocations: 27.62 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.009391, allocations: 0 / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.009557, allocations: 73.05 kB / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009558, allocations: 0 / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.01013, allocations: 173.3 kB / 352.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.01018, allocations: 85.11 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.01031, allocations: 217 kB / 352.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.01033, allocations: 29.7 kB / 352.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.01039, allocations: 146.9 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.01042, allocations: 23.8 kB / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.01047, allocations: 43.3 kB / 352.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01057, allocations: 0.4923 MB / 353.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.01062, allocations: 19.98 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.01069, allocations: 76.75 kB / 353.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/0.01078, allocations: 71.23 kB / 353.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01078, allocations: 4.031 kB / 353.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001537/0.01093, allocations: 109.5 kB / 353.5 MB, free: 3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01095, allocations: 4 kB / 353.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01095, allocations: 0 / 353.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.01097, allocations: 0 / 353.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.01106, allocations: 23.92 kB / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01107, allocations: 384 / 353.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.01111, allocations: 4 kB / 353.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.01112, allocations: 4 kB / 353.5 MB, free: 2.965 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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.355e-05/0.01121, allocations: 172.5 kB / 353.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.01123, allocations: 19.97 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.01147, allocations: 122.5 kB / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01147, allocations: 0 / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.01147, allocations: 0 / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01148, allocations: 4 kB / 353.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.01185, allocations: 401 kB / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01185, allocations: 0 / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.01188, allocations: 8 kB / 354.2 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01189, allocations: 4 kB / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.0119, allocations: 3.984 kB / 354.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.0119, allocations: 4.031 kB / 354.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.0119, allocations: 4 kB / 354.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01211, allocations: 271.4 kB / 354.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.01212, allocations: 7.953 kB / 354.5 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01215, allocations: 0 / 354.5 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.01222, allocations: 8 kB / 354.5 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01228, allocations: 7.984 kB / 354.5 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01229, allocations: 7.938 kB / 354.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.0124, allocations: 167.1 kB / 354.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0124, allocations: 0 / 354.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01267, allocations: 31.92 kB / 354.7 MB, free: 1.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.003461/0.01613, allocations: 0.53 MB / 355.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01635, allocations: 67.59 kB / 355.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01636, allocations: 0 / 355.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.01643, allocations: 35.67 kB / 355.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01683, allocations: 45.69 kB / 355.4 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.01731, allocations: 197.1 kB / 355.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.585e-05/0.01738, allocations: 99.28 kB / 355.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.98e-05/0.01744, allocations: 16.47 kB / 355.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.01749, allocations: 16.5 kB / 355.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01749, allocations: 4 kB / 355.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of Templates: time 0.006934/0.02443, allocations: 2.118 MB / 357.8 MB, free: 14.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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: 6.1455941289896145]