Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001472/0.001472, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.461/1.461, allocations: 205.1 MB / 223.2 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.2077/0.2077, allocations: 43.52 MB / 314.1 MB, free: 452 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.001654/0.001654, allocations: 73.47 kB / 441.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.115, allocations: 57.79 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003634/0.1187, allocations: 1.844 MB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1204, allocations: 0.9014 MB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1206, allocations: 0 / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.121, allocations: 159.5 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1214, allocations: 143.4 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1218, allocations: 151.6 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1221, allocations: 219.3 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1223, allocations: 33.52 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1225, allocations: 95.66 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1227, allocations: 127.5 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1227, allocations: 8 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1228, allocations: 44 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.1229, allocations: 43.83 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1231, allocations: 75.42 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1234, allocations: 195.3 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1234, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1234, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.1234, allocations: 0 / 0.4919 GB, free: 7.676 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.0007728/0.1242, allocations: 0.5098 MB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.1243, allocations: 15.89 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1243, allocations: 24.66 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.1247, allocations: 271.5 kB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1248, allocations: 4.375 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1248, allocations: 8.125 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.125, allocations: 99.3 kB / 0.4928 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1251, allocations: 0 / 0.4928 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1251, allocations: 3.984 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1251, allocations: 4 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1252, allocations: 43.92 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1257, allocations: 440.9 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.126, allocations: 117.3 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.1261, allocations: 41.7 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1262, allocations: 0 / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.1264, allocations: 121 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.1264, allocations: 0 / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009076/0.1273, allocations: 356 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1274, allocations: 84.98 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.1278, allocations: 351 kB / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1278, allocations: 33.7 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1279, allocations: 136.4 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.128, allocations: 59.28 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.1281, allocations: 33.72 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1283, allocations: 334.8 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1284, allocations: 43.97 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1286, allocations: 74.84 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1288, allocations: 119.3 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1288, allocations: 3.938 kB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003629/0.1292, allocations: 177.5 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1292, allocations: 8 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1292, allocations: 0 / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1293, allocations: 3.984 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1294, allocations: 39.98 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1295, allocations: 7.875 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.1296, allocations: 11.98 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1296, allocations: 8 kB / 0.4953 GB, free: 3.859 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.0001716/0.1298, allocations: 153.7 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.1298, allocations: 19.72 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.1299, allocations: 37.73 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1299, allocations: 0 / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.1299, allocations: 3.938 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1299, allocations: 7.984 kB / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.1307, allocations: 0.6124 MB / 0.4961 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1307, allocations: 0.75 kB / 0.4961 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.1308, allocations: 16 kB / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1308, allocations: 0 / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1308, allocations: 7.984 kB / 0.4961 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1309, allocations: 8.062 kB / 0.4962 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1309, allocations: 4 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.1313, allocations: 368 kB / 0.4965 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.1314, allocations: 92.83 kB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.1315, allocations: 8 kB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1316, allocations: 11.98 kB / 0.4966 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.1317, allocations: 11.98 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1317, allocations: 8 kB / 0.4966 GB, free: 2.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.132, allocations: 261.9 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.132, allocations: 0 / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1323, allocations: 44 kB / 0.4969 GB, free: 2.094 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.001049/0.1334, allocations: 471.7 kB / 0.4974 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1337, allocations: 115.9 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1337, allocations: 0 / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1339, allocations: 67.97 kB / 0.4976 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.1345, allocations: 65.19 kB / 0.4976 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/0.1354, allocations: 434.1 kB / 0.498 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1358, allocations: 0.7516 MB / 0.4988 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.136, allocations: 33.92 kB / 0.4988 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.136, allocations: 23.44 kB / 0.4988 GB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1361, allocations: 8 kB / 0.4988 GB, free: 128 kB / 382.1 MB Notification: Performance of Templates: time 0.007049/0.1431, allocations: 2.698 MB / 0.5015 GB, free: 13.43 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches