Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 16.41 MB, free: 6.504 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.001151/0.001151, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2321/0.2321, 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.001541/0.001541, allocations: 69.62 kB / 441.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 57.78 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003277/0.1216, allocations: 1.696 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1231, allocations: 0.8039 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1232, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1236, allocations: 51.75 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1239, allocations: 59.75 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1243, allocations: 99.56 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1245, allocations: 111.7 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1246, allocations: 24.2 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1248, allocations: 51.77 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1249, allocations: 43.83 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1249, allocations: 8 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1251, allocations: 43.98 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.1251, allocations: 23.92 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.1252, allocations: 47.7 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1254, allocations: 127.5 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1255, allocations: 4 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1255, allocations: 4 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1255, allocations: 0 / 0.4911 GB, free: 8.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005938/0.1261, allocations: 418.9 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1261, allocations: 11.89 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1262, allocations: 16.75 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1265, allocations: 220.8 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1265, allocations: 8.375 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1266, allocations: 4.125 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1268, allocations: 77.58 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1268, allocations: 0 / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1268, allocations: 4 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1268, allocations: 0 / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1269, allocations: 39.97 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1273, allocations: 304.8 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1275, allocations: 86.59 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.1276, allocations: 28.84 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1276, allocations: 4 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1278, allocations: 75.45 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1278, allocations: 0 / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006046/0.1284, allocations: 221.1 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1286, allocations: 55.41 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1287, allocations: 183.3 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1288, allocations: 33.7 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.1288, allocations: 108 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1289, allocations: 31.55 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1289, allocations: 25.72 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1291, allocations: 322.8 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.1291, allocations: 32.08 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.1292, allocations: 53.58 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.1294, allocations: 77.64 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1294, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000224/0.1296, allocations: 129.5 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1296, allocations: 4 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1297, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1297, allocations: 8.031 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1298, allocations: 23.98 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1298, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.1299, allocations: 3.938 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1299, allocations: 4 kB / 0.4936 GB, free: 5.715 MB / 382.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 (12): * Single equations (assignments): 12 * 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.0001094/0.13, allocations: 137.7 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.13, allocations: 11.81 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.1301, allocations: 21.39 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1301, allocations: 4 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1301, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1301, allocations: 3.938 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.1307, allocations: 431.3 kB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1307, allocations: 0 / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1307, allocations: 12 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1307, allocations: 4.125 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1308, allocations: 3.984 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1308, allocations: 7.938 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1308, allocations: 7.969 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.131, allocations: 228.2 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1311, allocations: 88.94 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1311, allocations: 7.938 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1312, allocations: 4 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1313, allocations: 7.984 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1313, allocations: 8 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1314, allocations: 140.9 kB / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1314, allocations: 0 / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1317, allocations: 28 kB / 0.4947 GB, free: 4.469 MB / 382.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 (10): * Single equations (assignments): 8 * 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.001065/0.1327, allocations: 468 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.133, allocations: 75.91 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.133, allocations: 192 / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.1331, allocations: 47.84 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1334, allocations: 35.84 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.134, allocations: 250.9 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1344, allocations: 0.7045 MB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.1345, allocations: 25.05 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1345, allocations: 23.44 kB / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1345, allocations: 0 / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of Templates: time 0.005922/0.1405, allocations: 1.883 MB / 0.4981 GB, free: 0.9688 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches