Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.001251, allocations: 113.6 kB / 17.08 MB, free: 6.004 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.001145/0.001145, allocations: 197.3 kB / 18.01 MB, free: 5.082 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.332/1.332, 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.2104/0.2104, allocations: 43.53 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.001461/0.001461, allocations: 72.28 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003257/0.109, allocations: 1.771 MB / 0.4903 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1111, allocations: 1.484 MB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1113, allocations: 7.938 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1116, allocations: 47.77 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.112, allocations: 91.53 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.1123, allocations: 143.6 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1126, allocations: 179.5 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.1127, allocations: 21.53 kB / 0.4923 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1128, allocations: 79.64 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.113, allocations: 75.61 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1131, allocations: 8 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1132, allocations: 63.97 kB / 0.4925 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1133, allocations: 27.91 kB / 0.4925 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.1134, allocations: 59.55 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1137, allocations: 171.5 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1137, allocations: 0 / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1137, allocations: 0 / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1137, allocations: 4 kB / 0.4927 GB, free: 7.484 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.0006831/0.1144, allocations: 466.6 kB / 0.4932 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1144, allocations: 11.89 kB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.1145, allocations: 16.75 kB / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.1149, allocations: 251.6 kB / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1149, allocations: 4.375 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1149, allocations: 8.125 kB / 0.4934 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1151, allocations: 97.08 kB / 0.4935 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1152, allocations: 0 / 0.4935 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1152, allocations: 8 kB / 0.4935 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1152, allocations: 0 / 0.4935 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1153, allocations: 27.92 kB / 0.4936 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.1156, allocations: 210.5 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1158, allocations: 109.2 kB / 0.4939 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1159, allocations: 41.64 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.116, allocations: 4 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1162, allocations: 124.9 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1162, allocations: 0 / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000458/0.1167, allocations: 161.4 kB / 0.4942 GB, free: 5.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.1168, allocations: 136.4 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.117, allocations: 215.8 kB / 0.4945 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.117, allocations: 29.7 kB / 0.4946 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1171, allocations: 116.1 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1172, allocations: 23.66 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.1172, allocations: 33.7 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1174, allocations: 326.8 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.1175, allocations: 27.98 kB / 0.4951 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1176, allocations: 77.12 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1178, allocations: 83.36 kB / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1178, allocations: 4 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.1181, allocations: 137.4 kB / 0.4953 GB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1181, allocations: 8 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1181, allocations: 0.625 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1181, allocations: 0 / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1182, allocations: 31.91 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1182, allocations: 0 / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.1183, allocations: 15.91 kB / 0.4954 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1184, allocations: 8 kB / 0.4954 GB, free: 4.414 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001105/0.1185, allocations: 133.8 kB / 0.4955 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.1185, allocations: 19.75 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1186, allocations: 20.98 kB / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1186, allocations: 0 / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1186, allocations: 0 / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1186, allocations: 4 kB / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1188, allocations: 213.5 kB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1188, allocations: 4 kB / 0.4958 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.1188, allocations: 7.984 kB / 0.4958 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1188, allocations: 4 kB / 0.4958 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1189, allocations: 8 kB / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1189, allocations: 0 / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1189, allocations: 4 kB / 0.4958 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1192, allocations: 165.6 kB / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1192, allocations: 96.84 kB / 0.4961 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1193, allocations: 4 kB / 0.4961 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1194, allocations: 8 kB / 0.4961 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1194, allocations: 8.078 kB / 0.4961 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1194, allocations: 11.94 kB / 0.4961 GB, free: 3.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1196, allocations: 165.5 kB / 0.4962 GB, free: 3.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1196, allocations: 0 / 0.4962 GB, free: 3.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1199, allocations: 32 kB / 0.4963 GB, free: 3.422 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001042/0.1209, allocations: 467.8 kB / 0.4967 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1212, allocations: 75.91 kB / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1212, allocations: 0 / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1213, allocations: 39.98 kB / 0.4968 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1217, allocations: 67.5 kB / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.1222, allocations: 297.6 kB / 0.4972 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1225, allocations: 0.7163 MB / 0.4979 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.1226, allocations: 27.42 kB / 0.4979 GB, free: 1.727 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1226, allocations: 0 / 0.4979 GB, free: 1.727 MB / 382.1 MB Notification: Performance of Templates: time 0.005211/0.1278, allocations: 2.753 MB / 0.5006 GB, free: 14.98 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches