Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 116.3 kB / 17.09 MB, free: 6.012 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.001211/0.001211, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.351/1.351, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2226/0.2226, allocations: 43.52 MB / 314.8 MB, free: 460 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.001509/0.00151, allocations: 71.89 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00446/0.1176, allocations: 1.853 MB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1193, allocations: 0.8936 MB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1195, allocations: 4 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.12, allocations: 159.5 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.1204, allocations: 135.5 kB / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1208, allocations: 151.7 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1212, allocations: 215.3 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1213, allocations: 29.53 kB / 0.492 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1215, allocations: 103.6 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1217, allocations: 123.6 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1218, allocations: 4 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1219, allocations: 47.98 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.122, allocations: 51.77 kB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.1221, allocations: 71.42 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1224, allocations: 191.4 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1224, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1224, allocations: 0 / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1224, allocations: 0 / 0.4925 GB, free: 7.711 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.0007/0.1231, allocations: 0.5215 MB / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1232, allocations: 11.89 kB / 0.493 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1233, allocations: 28.66 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.1236, allocations: 263.6 kB / 0.4933 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1237, allocations: 4.359 kB / 0.4933 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.1237, allocations: 8.125 kB / 0.4933 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.124, allocations: 107.2 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.124, allocations: 0 / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.124, allocations: 4 kB / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.124, allocations: 8 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1241, allocations: 35.97 kB / 0.4935 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1246, allocations: 436.9 kB / 0.4939 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1249, allocations: 121.3 kB / 0.494 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.125, allocations: 41.7 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1251, allocations: 0 / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1253, allocations: 117.1 kB / 0.4942 GB, free: 5.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1253, allocations: 0 / 0.4942 GB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008647/0.1262, allocations: 364 kB / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1262, allocations: 81.05 kB / 0.4946 GB, free: 5.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1265, allocations: 347 kB / 0.4949 GB, free: 5.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1266, allocations: 33.7 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.1267, allocations: 140.4 kB / 0.4951 GB, free: 4.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.1267, allocations: 59.28 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1268, allocations: 37.7 kB / 0.4952 GB, free: 4.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1269, allocations: 338.8 kB / 0.4955 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.127, allocations: 39.92 kB / 0.4955 GB, free: 4.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1271, allocations: 74.84 kB / 0.4956 GB, free: 4.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1273, allocations: 123.3 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1273, allocations: 0 / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003149/0.1277, allocations: 173.3 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1277, allocations: 8 kB / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1277, allocations: 0 / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1277, allocations: 3.984 kB / 0.4959 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1279, allocations: 39.98 kB / 0.4959 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1279, allocations: 7.875 kB / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.128, allocations: 8 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.128, allocations: 8 kB / 0.496 GB, free: 3.891 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.00013/0.1281, allocations: 157.8 kB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1282, allocations: 23.72 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.1282, allocations: 33.72 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1282, allocations: 3.938 kB / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1282, allocations: 3.938 kB / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1282, allocations: 8 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.1289, allocations: 0.6089 MB / 0.4968 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1289, allocations: 0.75 kB / 0.4968 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.129, allocations: 23.92 kB / 0.4968 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.129, allocations: 4 kB / 0.4968 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.129, allocations: 4 kB / 0.4968 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1291, allocations: 8.062 kB / 0.4968 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1291, allocations: 4 kB / 0.4968 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.1295, allocations: 364 kB / 0.4972 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.1295, allocations: 96.81 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1296, allocations: 12 kB / 0.4973 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1297, allocations: 4 kB / 0.4973 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.1298, allocations: 11.98 kB / 0.4973 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.1298, allocations: 11.98 kB / 0.4973 GB, free: 2.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.13, allocations: 257.9 kB / 0.4975 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 0 / 0.4975 GB, free: 2.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.1304, allocations: 47.98 kB / 0.4976 GB, free: 2.113 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.00106/0.1314, allocations: 475.1 kB / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1318, allocations: 111.9 kB / 0.4981 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1318, allocations: 0 / 0.4981 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1319, allocations: 64.03 kB / 0.4982 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.1324, allocations: 56.64 kB / 0.4983 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.1332, allocations: 467.8 kB / 0.4987 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1335, allocations: 0.7516 MB / 0.4994 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.1335, allocations: 31.42 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1335, allocations: 0 / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.005433/0.139, allocations: 3.121 MB / 0.5025 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches