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.001427/0.001427, allocations: 113.6 kB / 17.08 MB, free: 6.02 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.00153/0.00153, allocations: 193.3 kB / 18.01 MB, free: 5.098 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.348/1.348, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2031/0.2031, 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.001561/0.001561, allocations: 67.89 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1093, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003515/0.1128, allocations: 1.837 MB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1145, allocations: 0.9013 MB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1147, allocations: 4 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.1151, allocations: 159.5 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1155, allocations: 139.5 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.116, allocations: 147.7 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.1163, allocations: 219.3 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1164, allocations: 25.53 kB / 0.492 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1166, allocations: 99.59 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1168, allocations: 127.6 kB / 0.4922 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.1169, allocations: 4 kB / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.117, allocations: 47.98 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.1171, allocations: 47.77 kB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.1172, allocations: 75.42 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1175, allocations: 191.4 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1175, allocations: 0 / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1175, allocations: 0 / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1175, allocations: 4 kB / 0.4925 GB, free: 7.703 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.0007132/0.1182, allocations: 0.5098 MB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1183, allocations: 11.89 kB / 0.493 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.1184, allocations: 32.66 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.1188, allocations: 267.5 kB / 0.4933 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1188, allocations: 4.375 kB / 0.4933 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1188, allocations: 8.125 kB / 0.4933 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1191, allocations: 103.2 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1191, allocations: 0 / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1191, allocations: 7.984 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1191, allocations: 4 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1193, allocations: 39.97 kB / 0.4935 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1198, allocations: 436.9 kB / 0.4939 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1201, allocations: 117.3 kB / 0.494 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1202, allocations: 41.7 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1203, allocations: 0 / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1205, allocations: 113.1 kB / 0.4942 GB, free: 5.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1205, allocations: 0 / 0.4942 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009083/0.1214, allocations: 356.5 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1215, allocations: 85.05 kB / 0.4946 GB, free: 5.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.1219, allocations: 351 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1219, allocations: 37.64 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.122, allocations: 136.4 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.1221, allocations: 59.28 kB / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1221, allocations: 33.72 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1223, allocations: 334.8 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1224, allocations: 47.91 kB / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1225, allocations: 74.84 kB / 0.4956 GB, free: 4.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1227, allocations: 123.7 kB / 0.4957 GB, free: 4.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.1228, allocations: 8 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003449/0.1231, allocations: 169.3 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1231, allocations: 8 kB / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1231, allocations: 0 / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1232, allocations: 4 kB / 0.4959 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1233, allocations: 39.92 kB / 0.4959 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1233, allocations: 3.938 kB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/0.1234, allocations: 11.98 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1235, 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.0001477/0.1236, allocations: 149.8 kB / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1237, allocations: 23.72 kB / 0.4961 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.1237, allocations: 33.73 kB / 0.4962 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1237, allocations: 3.938 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1238, allocations: 7.938 kB / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1238, allocations: 7.984 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.1245, allocations: 0.6086 MB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1245, allocations: 0 / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.1246, allocations: 19.94 kB / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1246, allocations: 4 kB / 0.4968 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1246, allocations: 4.047 kB / 0.4968 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1246, allocations: 8 kB / 0.4968 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1246, allocations: 0 / 0.4968 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.1251, allocations: 367.8 kB / 0.4972 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.1252, allocations: 100.8 kB / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1252, allocations: 4 kB / 0.4973 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1253, allocations: 11.98 kB / 0.4973 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1254, allocations: 11.98 kB / 0.4973 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1254, allocations: 12 kB / 0.4973 GB, free: 2.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.1257, allocations: 257.9 kB / 0.4975 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1257, allocations: 4 kB / 0.4975 GB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.126, allocations: 40 kB / 0.4976 GB, free: 2.125 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.001102/0.1272, allocations: 474.4 kB / 0.498 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.1275, allocations: 115.9 kB / 0.4981 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1275, allocations: 4.125 kB / 0.4981 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1276, allocations: 59.92 kB / 0.4982 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.1282, allocations: 68.52 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.0007926/0.129, allocations: 475.7 kB / 0.4987 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1294, allocations: 0.7516 MB / 0.4995 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.1294, allocations: 23.44 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1294, allocations: 0 / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.005677/0.1351, allocations: 3.152 MB / 0.5026 GB, free: 12.99 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/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