Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001539/0.001539, 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.001544/0.001544, allocations: 218.8 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.366/1.366, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.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.209/0.209, allocations: 44.24 MB / 331 MB, free: 9.523 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [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.001971/0.001971, allocations: 68.33 kB / 468.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1203, allocations: 61.05 MB / 0.5174 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003343/0.1237, allocations: 1.723 MB / 0.5191 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.126, allocations: 1.505 MB / 0.5206 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1261, allocations: 7.938 kB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1263, allocations: 35.83 kB / 0.5206 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1266, allocations: 59.7 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1268, allocations: 87.75 kB / 0.5208 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.127, allocations: 107.6 kB / 0.5209 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.1271, allocations: 12.2 kB / 0.5209 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.1272, allocations: 51.78 kB / 0.5209 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1273, allocations: 39.83 kB / 0.521 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1273, allocations: 4 kB / 0.521 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1275, allocations: 59.98 kB / 0.521 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1275, allocations: 19.91 kB / 0.5211 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.1275, allocations: 47.67 kB / 0.5211 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1278, allocations: 127.5 kB / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1278, allocations: 4 kB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1278, allocations: 0 / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.1278, allocations: 3.938 kB / 0.5212 GB, free: 2.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004734/0.1283, allocations: 333.7 kB / 0.5215 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1283, allocations: 12.02 kB / 0.5216 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.1283, allocations: 8.891 kB / 0.5216 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1286, allocations: 150.9 kB / 0.5217 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1286, allocations: 15.88 kB / 0.5217 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1286, allocations: 4 kB / 0.5217 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1288, allocations: 75.38 kB / 0.5218 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1288, allocations: 0 / 0.5218 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1288, allocations: 3.938 kB / 0.5218 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.1288, allocations: 0 / 0.5218 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1289, allocations: 31.97 kB / 0.5218 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1293, allocations: 263.9 kB / 0.5221 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1295, allocations: 70.61 kB / 0.5222 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1295, allocations: 20.84 kB / 0.5222 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1295, allocations: 4 kB / 0.5222 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1297, allocations: 71.39 kB / 0.5222 GB, free: 1.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1297, allocations: 4 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005268/0.1302, allocations: 209.2 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1303, allocations: 81.05 kB / 0.5225 GB, free: 1.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1304, allocations: 150.4 kB / 0.5227 GB, free: 1.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1304, allocations: 33.7 kB / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1305, allocations: 96.09 kB / 0.5228 GB, free: 1.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1305, allocations: 27.91 kB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1306, allocations: 25.72 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1307, allocations: 326.8 kB / 0.5232 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.1308, allocations: 23.98 kB / 0.5232 GB, free: 0.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.1309, allocations: 46.56 kB / 0.5232 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.131, allocations: 69.73 kB / 0.5233 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.131, allocations: 3.938 kB / 0.5233 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002224/0.1312, allocations: 121.5 kB / 0.5234 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1312, allocations: 4 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1312, allocations: 4 kB / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1313, allocations: 3.938 kB / 0.5234 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.1313, allocations: 19.98 kB / 0.5234 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1313, allocations: 0 / 0.5234 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1314, allocations: 3.938 kB / 0.5234 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1314, allocations: 8 kB / 0.5234 GB, free: 376 kB / 398.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 (11): * Single equations (assignments): 11 * 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.0001035/0.1315, allocations: 129.7 kB / 0.5236 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.1315, allocations: 11.98 kB / 0.5236 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1318, allocations: 130.2 kB / 0.5237 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1318, allocations: 4 kB / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1318, allocations: 0 / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1318, allocations: 0 / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1323, allocations: 390.3 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1323, allocations: 4 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.1324, allocations: 11.98 kB / 0.5241 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1324, allocations: 4.031 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1324, allocations: 4 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1324, allocations: 0 / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1324, allocations: 0 / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1326, allocations: 216.2 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.1327, allocations: 11.94 kB / 0.5243 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1327, allocations: 4.281 kB / 0.5243 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1327, allocations: 4 kB / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1328, allocations: 11.98 kB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1328, allocations: 3.938 kB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1329, allocations: 123.9 kB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1329, allocations: 0 / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1332, allocations: 35.92 kB / 0.5245 GB, free: 15.2 MB / 414.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 (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.001758/0.1349, allocations: 0.5005 MB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1351, allocations: 75.78 kB / 0.5251 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1351, allocations: 0 / 0.5251 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.1352, allocations: 27.98 kB / 0.5251 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1355, allocations: 31.78 kB / 0.5251 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.136, allocations: 244.4 kB / 0.5254 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1363, allocations: 0.6964 MB / 0.526 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.1364, allocations: 23.42 kB / 0.5261 GB, free: 13.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1364, allocations: 0 / 0.5261 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Templates: time 0.004141/0.1405, allocations: 2.165 MB / 0.5282 GB, free: 11.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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: 7.27585388510488]