Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001436/0.001436, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.00158/0.00158, allocations: 221.4 kB / 23.76 MB, free: 4.723 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.301/1.301, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.2048/0.2048, allocations: 44.24 MB / 331 MB, free: 9.531 MB / 270.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.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.89 kB / 468.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.116, allocations: 61.04 MB / 0.5174 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.0033/0.1193, allocations: 1.866 MB / 0.5193 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1208, allocations: 0.9208 MB / 0.5202 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.1209, allocations: 7.938 kB / 0.5202 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.1213, allocations: 227.4 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1217, allocations: 167.4 kB / 0.5205 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.122, allocations: 155.7 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1223, allocations: 223.4 kB / 0.5209 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1225, allocations: 13.72 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1227, allocations: 123.5 kB / 0.521 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1229, allocations: 167.4 kB / 0.5212 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1229, allocations: 8 kB / 0.5212 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.123, allocations: 43.98 kB / 0.5212 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.1231, allocations: 59.78 kB / 0.5213 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.1232, allocations: 83.34 kB / 0.5214 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1235, allocations: 211 kB / 0.5216 GB, free: 2.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1235, allocations: 0 / 0.5216 GB, free: 2.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1235, allocations: 4 kB / 0.5216 GB, free: 2.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1235, allocations: 0 / 0.5216 GB, free: 2.496 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000724/0.1242, allocations: 476.6 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1243, allocations: 8.031 kB / 0.522 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.1243, allocations: 28.75 kB / 0.5221 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1247, allocations: 226.5 kB / 0.5223 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1247, allocations: 8.375 kB / 0.5223 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1247, allocations: 8.125 kB / 0.5223 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1249, allocations: 95.36 kB / 0.5224 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.125, allocations: 0 / 0.5224 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.125, allocations: 7.938 kB / 0.5224 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.125, allocations: 0 / 0.5224 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1251, allocations: 43.91 kB / 0.5224 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.1256, allocations: 424 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1259, allocations: 109.3 kB / 0.523 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.126, allocations: 41.7 kB / 0.523 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.126, allocations: 3.984 kB / 0.523 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1262, allocations: 113 kB / 0.5231 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1262, allocations: 4 kB / 0.5231 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008655/0.1271, allocations: 369.1 kB / 0.5235 GB, free: 424 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.1271, allocations: 85.05 kB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.1276, allocations: 428.5 kB / 0.524 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1276, allocations: 29.7 kB / 0.524 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1277, allocations: 152.3 kB / 0.5241 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.1278, allocations: 51.62 kB / 0.5242 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.1278, allocations: 37.7 kB / 0.5242 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.128, allocations: 338.8 kB / 0.5245 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1281, allocations: 47.97 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1282, allocations: 67.59 kB / 0.5246 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1284, allocations: 127.4 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1284, allocations: 0 / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003162/0.1287, allocations: 189.3 kB / 0.5249 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1287, allocations: 8 kB / 0.525 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1288, allocations: 0 / 0.525 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1288, allocations: 0 / 0.525 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1289, allocations: 35.98 kB / 0.525 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1289, allocations: 3.938 kB / 0.525 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.129, allocations: 4 kB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.129, allocations: 12 kB / 0.525 GB, free: 14.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000148/0.1292, allocations: 169.7 kB / 0.5252 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.1292, allocations: 39.75 kB / 0.5252 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.1296, allocations: 212.2 kB / 0.5254 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1296, allocations: 4 kB / 0.5254 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1296, allocations: 3.938 kB / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1296, allocations: 3.984 kB / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.1303, allocations: 0.5843 MB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1303, allocations: 4 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1304, allocations: 19.98 kB / 0.526 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1304, allocations: 4 kB / 0.526 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1304, allocations: 4 kB / 0.526 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1304, allocations: 3.938 kB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1304, allocations: 0 / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.1308, allocations: 368.3 kB / 0.5264 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.1308, allocations: 19.81 kB / 0.5264 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1309, allocations: 11.98 kB / 0.5264 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.131, allocations: 8 kB / 0.5264 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.1311, allocations: 23.91 kB / 0.5264 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1311, allocations: 4 kB / 0.5264 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.1314, allocations: 319 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1314, allocations: 0 / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1317, allocations: 43.92 kB / 0.5268 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001665/0.1333, allocations: 476.9 kB / 0.5272 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1337, allocations: 111.8 kB / 0.5273 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1337, allocations: 0 / 0.5273 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1338, allocations: 56.38 kB / 0.5274 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1343, allocations: 61.23 kB / 0.5275 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.1351, allocations: 0.5229 MB / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1355, allocations: 0.7632 MB / 0.5287 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.1356, allocations: 27.44 kB / 0.5287 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1356, allocations: 0 / 0.5287 GB, free: 10.8 MB / 414.1 MB Notification: Performance of Templates: time 0.005648/0.1412, allocations: 3.294 MB / 0.532 GB, free: 7.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 7.286606129957363]