Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 118.7 kB / 17.09 MB, free: 5.984 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.001163/0.001163, allocations: 190.4 kB / 18.01 MB, free: 5.074 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2089/0.2089, allocations: 43.52 MB / 314.8 MB, free: 472 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.001402/0.001402, allocations: 69.97 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003548/0.1241, allocations: 1.841 MB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1257, allocations: 0.9052 MB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1259, allocations: 3.938 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1264, allocations: 251.4 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.1269, allocations: 187.4 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.1275, allocations: 147.7 kB / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.1279, allocations: 243.3 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1281, allocations: 29.52 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1284, allocations: 123.6 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1287, allocations: 179.5 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.1287, allocations: 8 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1289, allocations: 43.97 kB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.954e-05/0.129, allocations: 63.7 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1291, allocations: 87.3 kB / 0.4926 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1294, allocations: 219.3 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1294, allocations: 0 / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1294, allocations: 4 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1295, allocations: 0 / 0.4928 GB, free: 7.406 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008609/0.1303, allocations: 0.5635 MB / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1304, allocations: 11.89 kB / 0.4934 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.1305, allocations: 32.55 kB / 0.4934 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1309, allocations: 284 kB / 0.4937 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1309, allocations: 4.375 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1309, allocations: 16.12 kB / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1312, allocations: 99.22 kB / 0.4938 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1312, allocations: 0 / 0.4938 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1312, allocations: 8 kB / 0.4938 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1312, allocations: 0 / 0.4938 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1314, allocations: 35.97 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.1319, allocations: 460.8 kB / 0.4943 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1322, allocations: 113.3 kB / 0.4944 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.1323, allocations: 41.7 kB / 0.4944 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1324, allocations: 11.97 kB / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1326, allocations: 109 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.1326, allocations: 0 / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008728/0.1335, allocations: 372.5 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1335, allocations: 93.03 kB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.134, allocations: 481.7 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.134, allocations: 33.64 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1341, allocations: 160.3 kB / 0.4956 GB, free: 4.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.1342, allocations: 51.38 kB / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.1343, allocations: 37.7 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1344, allocations: 342.8 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1346, allocations: 52.03 kB / 0.4961 GB, free: 3.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1347, allocations: 75.34 kB / 0.4962 GB, free: 3.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1349, allocations: 107.4 kB / 0.4963 GB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1349, allocations: 3.938 kB / 0.4963 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003136/0.1352, allocations: 193.1 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1352, allocations: 4 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1353, allocations: 0 / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1353, allocations: 4 kB / 0.4965 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1354, allocations: 31.92 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1354, allocations: 7.938 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.1355, allocations: 11.98 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1355, allocations: 4 kB / 0.4965 GB, free: 3.336 MB / 382.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.000144/0.1357, allocations: 173.8 kB / 0.4967 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1358, allocations: 31.61 kB / 0.4967 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.1358, allocations: 42.81 kB / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1358, allocations: 0 / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1358, allocations: 3.938 kB / 0.4967 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1359, allocations: 3.984 kB / 0.4968 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.1366, allocations: 0.6323 MB / 0.4974 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1366, allocations: 7.938 kB / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1366, allocations: 19.94 kB / 0.4974 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1366, allocations: 0 / 0.4974 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1367, allocations: 11.98 kB / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1367, allocations: 0 / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1367, allocations: 4 kB / 0.4974 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1371, allocations: 372 kB / 0.4978 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1371, allocations: 100.7 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1372, allocations: 4 kB / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1373, allocations: 7.984 kB / 0.4979 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1374, allocations: 11.98 kB / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1374, allocations: 16 kB / 0.4979 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.1377, allocations: 359.1 kB / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1377, allocations: 0 / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000323/0.138, allocations: 36 kB / 0.4983 GB, free: 1.41 MB / 382.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.001025/0.1391, allocations: 475.1 kB / 0.4987 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1394, allocations: 119.8 kB / 0.4988 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1394, allocations: 0 / 0.4988 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1395, allocations: 59.91 kB / 0.4989 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.14, allocations: 61.19 kB / 0.499 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.1408, allocations: 0.5592 MB / 0.4995 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1412, allocations: 0.7749 MB / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.1412, allocations: 27.42 kB / 0.5003 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1412, allocations: 0 / 0.5003 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.005913/0.1472, allocations: 3.393 MB / 0.5036 GB, free: 11.93 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches