Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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.631/1.631, allocations: 207.6 MB / 232.1 MB, free: 3.133 MB / 174.1 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.3627/0.3627, allocations: 44.23 MB / 328.4 MB, free: 6.34 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 75.28 kB / 465.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 61.01 MB / 0.5143 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003028/0.1255, allocations: 1.719 MB / 0.5159 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1267, allocations: 0.8272 MB / 0.5168 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1267, allocations: 1 kB / 0.5168 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.127, allocations: 52.88 kB / 0.5168 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1272, allocations: 60.34 kB / 0.5169 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1275, allocations: 90.61 kB / 0.5169 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1276, allocations: 102.3 kB / 0.517 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.1277, allocations: 15.05 kB / 0.5171 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.1278, allocations: 36.77 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.1279, allocations: 39.77 kB / 0.5171 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1279, allocations: 4 kB / 0.5171 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.128, allocations: 36 kB / 0.5172 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.128, allocations: 27.91 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1281, allocations: 43.67 kB / 0.5172 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1282, allocations: 135.4 kB / 0.5174 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1282, allocations: 0 / 0.5174 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1282, allocations: 0 / 0.5174 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1282, allocations: 0 / 0.5174 GB, free: 10 MB / 382.1 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.0004287/0.1287, allocations: 442.5 kB / 0.5178 GB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1287, allocations: 19.84 kB / 0.5178 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1287, allocations: 16.84 kB / 0.5178 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.129, allocations: 224.1 kB / 0.518 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.129, allocations: 384 / 0.518 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.129, allocations: 12.12 kB / 0.518 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1291, allocations: 53.61 kB / 0.5181 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1291, allocations: 0 / 0.5181 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1292, allocations: 4 kB / 0.5181 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1292, allocations: 3.984 kB / 0.5181 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.1292, allocations: 16 kB / 0.5181 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.1295, allocations: 292.9 kB / 0.5184 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1297, allocations: 66.61 kB / 0.5185 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.1297, allocations: 16.86 kB / 0.5185 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1297, allocations: 0 / 0.5185 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.1299, allocations: 79.38 kB / 0.5186 GB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1299, allocations: 0 / 0.5186 GB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004638/0.1303, allocations: 177.2 kB / 0.5187 GB, free: 8.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.1304, allocations: 55.41 kB / 0.5188 GB, free: 8.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1305, allocations: 262.3 kB / 0.519 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.1305, allocations: 29.7 kB / 0.5191 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.1306, allocations: 112.1 kB / 0.5192 GB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1306, allocations: 35.77 kB / 0.5192 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1306, allocations: 17.72 kB / 0.5192 GB, free: 7.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.1307, allocations: 338.8 kB / 0.5195 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1307, allocations: 12 kB / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.1308, allocations: 49.58 kB / 0.5196 GB, free: 7.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.993e-05/0.1309, allocations: 57.7 kB / 0.5197 GB, free: 7.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1309, allocations: 0 / 0.5197 GB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001469/0.131, allocations: 109.5 kB / 0.5198 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.131, allocations: 4 kB / 0.5198 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.131, allocations: 7.938 kB / 0.5198 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1311, allocations: 3.984 kB / 0.5198 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1311, allocations: 12 kB / 0.5198 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1311, allocations: 0 / 0.5198 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1312, allocations: 7.938 kB / 0.5198 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1312, allocations: 4 kB / 0.5198 GB, free: 7.27 MB / 382.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 (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 7.29e-05/0.1313, allocations: 137.8 kB / 0.5199 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1313, allocations: 19.89 kB / 0.5199 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1315, allocations: 119 kB / 0.5201 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1315, allocations: 0 / 0.5201 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1315, allocations: 0 / 0.5201 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1315, allocations: 3.938 kB / 0.5201 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1318, allocations: 395.6 kB / 0.5204 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1318, allocations: 7.984 kB / 0.5204 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.1318, allocations: 12 kB / 0.5205 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1318, allocations: 0 / 0.5205 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1318, allocations: 3.938 kB / 0.5205 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1319, allocations: 3.938 kB / 0.5205 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1319, allocations: 4 kB / 0.5205 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.132, allocations: 208.4 kB / 0.5207 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.132, allocations: 97 kB / 0.5208 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1321, allocations: 4.312 kB / 0.5208 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1321, allocations: 4 kB / 0.5208 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1322, allocations: 7.984 kB / 0.5208 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1322, allocations: 12 kB / 0.5208 GB, free: 6.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1323, allocations: 188.5 kB / 0.521 GB, free: 5.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1323, allocations: 4 kB / 0.521 GB, free: 5.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1326, allocations: 23.94 kB / 0.521 GB, free: 5.926 MB / 382.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: 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 (8): * Single equations (assignments): 6 * 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.00159/0.1341, allocations: 486.7 kB / 0.5215 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1343, allocations: 47.98 kB / 0.5215 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1343, allocations: 4.062 kB / 0.5215 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.1344, allocations: 27.92 kB / 0.5215 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1348, allocations: 27.98 kB / 0.5216 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.1353, allocations: 299.3 kB / 0.5218 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.1355, allocations: 0.7158 MB / 0.5225 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.1356, allocations: 21.23 kB / 0.5226 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1356, allocations: 19.42 kB / 0.5226 GB, free: 4.281 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1356, allocations: 0 / 0.5226 GB, free: 4.281 MB / 382.1 MB Notification: Performance of Templates: time 0.005182/0.1408, allocations: 1.737 MB / 0.5243 GB, free: 2.551 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.286145627498627]