Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.001487/0.001487, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001501/0.001501, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 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 0.8839/0.8839, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.1475/0.1475, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 299.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.53e-05, allocations: 2.312 kB / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002105/0.00212, allocations: 1.739 MB / 300.9 MB, free: 344 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1213/0.1234, allocations: 0.7774 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1235, allocations: 8.531 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1238, allocations: 47.89 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.124, allocations: 59.16 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1242, allocations: 86.11 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1244, allocations: 95.84 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1244, allocations: 4.359 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.1245, allocations: 45.64 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.1246, allocations: 22.19 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1246, allocations: 6.344 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.1246, allocations: 42.91 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.1247, allocations: 22.77 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.1247, allocations: 20.19 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1249, allocations: 100.1 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1249, allocations: 0 / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1249, allocations: 1.656 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1249, allocations: 0 / 302.3 MB, free: 19.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003206/0.1252, allocations: 331.6 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1252, allocations: 10.28 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1253, allocations: 10.36 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1254, allocations: 152.9 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1254, allocations: 1.219 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1254, allocations: 3.406 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.1255, allocations: 65.75 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1255, allocations: 4.594 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1255, allocations: 0 / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1255, allocations: 2.297 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.1256, allocations: 5.656 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.987e-05/0.1256, allocations: 76.69 kB / 302.9 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.1257, allocations: 41.84 kB / 302.9 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1257, allocations: 13.38 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.1257, allocations: 0 / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.952e-05/0.1258, allocations: 65.72 kB / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1258, allocations: 0 / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001091/0.1259, allocations: 57.44 kB / 303.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.126, allocations: 61.09 kB / 303.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1261, allocations: 205.6 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.1261, allocations: 27.73 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.1261, allocations: 102.5 kB / 303.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1261, allocations: 15.47 kB / 303.5 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.1261, allocations: 22.75 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.1262, allocations: 331.3 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.1262, allocations: 6.922 kB / 303.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.1262, allocations: 19.39 kB / 303.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.1263, allocations: 35.55 kB / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1263, allocations: 0 / 303.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.867e-05/0.1263, allocations: 64.2 kB / 303.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1263, allocations: 8.812 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1263, allocations: 2.219 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1264, allocations: 1.25 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.1264, allocations: 15.12 kB / 304 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.1264, allocations: 7.078 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.1264, allocations: 3.203 kB / 304 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1264, allocations: 1.25 kB / 304 MB, free: 17.73 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 (7): * Single equations (assignments): 7 * 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 4.612e-05/0.1265, allocations: 117.1 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1265, allocations: 9.375 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1266, allocations: 67.31 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1266, allocations: 1.719 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1266, allocations: 5 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1266, allocations: 0.7031 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/0.1267, allocations: 94.44 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1267, allocations: 0 / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.1267, allocations: 9.594 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1267, allocations: 1.812 kB / 304.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.1267, allocations: 4.969 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1267, allocations: 0.6094 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1267, allocations: 1.406 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.219e-05/0.1268, allocations: 92.17 kB / 304.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.1268, allocations: 7.922 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1268, allocations: 6.078 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.1268, allocations: 2.719 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.1268, allocations: 4.594 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1268, allocations: 1.953 kB / 304.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.1269, allocations: 78.61 kB / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1269, allocations: 0 / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001216/0.127, allocations: 23.23 kB / 304.5 MB, free: 17.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009877/0.128, allocations: 0.5066 MB / 305 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.1281, allocations: 27.47 kB / 305 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1281, allocations: 2.219 kB / 305 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.1281, allocations: 22.84 kB / 305.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1283, allocations: 23.5 kB / 305.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.1285, allocations: 225 kB / 305.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.1286, allocations: 72.67 kB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.1286, allocations: 13.25 kB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1287, allocations: 63.59 kB / 305.4 MB, free: 16.81 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1287, allocations: 1.312 kB / 305.5 MB, free: 16.81 MB / 282.7 MB Notification: Performance of Templates: time 0.003481/0.1322, allocations: 1.769 MB / 307.2 MB, free: 16.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8280408498831093]