Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 96.94 kB / 17.08 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 195.3 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1982/0.1982, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB 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.001393/0.001393, allocations: 63.91 kB / 442.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004786/0.125, allocations: 2.291 MB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1274, allocations: 1.178 MB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.1278, allocations: 11.88 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.1286, allocations: 295 kB / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.1294, allocations: 262.8 kB / 0.4926 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1304, allocations: 339.2 kB / 0.4929 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.1313, allocations: 0.5024 MB / 0.4934 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1315, allocations: 57.06 kB / 0.4934 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.1321, allocations: 235 kB / 0.4936 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.1325, allocations: 259 kB / 0.4939 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1326, allocations: 20 kB / 0.4939 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1329, allocations: 59.97 kB / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.133, allocations: 115.5 kB / 0.4941 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1332, allocations: 170.8 kB / 0.4942 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1338, allocations: 390.4 kB / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1338, allocations: 0 / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1338, allocations: 0 / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1338, allocations: 0 / 0.4946 GB, free: 5.559 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001312/0.1352, allocations: 0.7669 MB / 0.4954 GB, free: 4.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1352, allocations: 11.89 kB / 0.4954 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1354, allocations: 52.28 kB / 0.4954 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.1361, allocations: 407.9 kB / 0.4958 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1361, allocations: 16.38 kB / 0.4958 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.1362, allocations: 20.11 kB / 0.4958 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.1366, allocations: 202.3 kB / 0.496 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1367, allocations: 7.984 kB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1367, allocations: 7.984 kB / 0.4961 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1367, allocations: 4 kB / 0.4961 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.137, allocations: 95.88 kB / 0.4962 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.138, allocations: 0.8526 MB / 0.497 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.1386, allocations: 289.3 kB / 0.4973 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1389, allocations: 100.2 kB / 0.4974 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1389, allocations: 7.984 kB / 0.4974 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.1393, allocations: 224.2 kB / 0.4976 GB, free: 2.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.1393, allocations: 4 kB / 0.4976 GB, free: 2.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001995/0.1413, allocations: 0.9794 MB / 0.4985 GB, free: 1.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.1414, allocations: 170.2 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.1421, allocations: 0.6043 MB / 0.4993 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1421, allocations: 41.69 kB / 0.4993 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1423, allocations: 224.9 kB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1424, allocations: 118.4 kB / 0.4997 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1426, allocations: 78.2 kB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1427, allocations: 366.8 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.1429, allocations: 100.8 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1432, allocations: 184.8 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.1437, allocations: 298.4 kB / 0.5006 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1437, allocations: 4 kB / 0.5006 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006866/0.1444, allocations: 400.5 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1444, allocations: 8 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1445, allocations: 4 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.1445, allocations: 4 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1448, allocations: 91.98 kB / 0.5011 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.1448, allocations: 4 kB / 0.5011 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.145, allocations: 15.98 kB / 0.5011 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1451, allocations: 20 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000244/0.1453, allocations: 212.2 kB / 0.5014 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.1454, allocations: 63.19 kB / 0.5014 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1455, allocations: 60.3 kB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1455, allocations: 11.98 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1455, allocations: 0 / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.1456, allocations: 116.5 kB / 0.5016 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.1457, allocations: 15.98 kB / 0.5016 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1459, allocations: 19.98 kB / 0.5016 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.146, allocations: 35.89 kB / 0.5017 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008689/0.1469, allocations: 0.7634 MB / 0.5024 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008411/0.1477, allocations: 0.8544 MB / 0.5033 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000261/0.148, allocations: 144.2 kB / 0.5034 GB, free: 12.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004898/0.1485, allocations: 458.8 kB / 0.5038 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.1485, allocations: 0 / 0.5038 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.1506, allocations: 0.6683 MB / 0.5045 GB, free: 11.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.001638/0.1523, allocations: 1.261 MB / 0.5057 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Templates: time 0.01108/0.1634, allocations: 6.017 MB / 0.5116 GB, free: 3.691 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches