Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001532/0.001533, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.42/1.42, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.1915/0.1915, allocations: 43.52 MB / 314.8 MB, free: 464 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.001343/0.001343, allocations: 73.45 kB / 442.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.004549/0.1174, allocations: 1.701 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.1202, allocations: 1.41 MB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1203, allocations: 4 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.1207, allocations: 43.77 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1211, allocations: 63.69 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1215, allocations: 87.7 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1218, allocations: 91.75 kB / 0.4919 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1219, allocations: 20.22 kB / 0.4919 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1221, allocations: 43.78 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1223, allocations: 35.83 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1223, allocations: 7.938 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1225, allocations: 59.97 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.1226, allocations: 11.98 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.1227, allocations: 27.81 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.123, allocations: 123.6 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.123, allocations: 4 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1231, allocations: 8 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1231, allocations: 0 / 0.4922 GB, free: 7.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006532/0.1237, allocations: 399 kB / 0.4926 GB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1238, allocations: 15.89 kB / 0.4926 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.1239, allocations: 8.844 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.1243, allocations: 207.8 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1243, allocations: 4.375 kB / 0.4929 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1243, allocations: 4.125 kB / 0.4929 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1246, allocations: 75.33 kB / 0.4929 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1246, allocations: 3.984 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1246, allocations: 4 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1247, allocations: 0 / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1248, allocations: 19.98 kB / 0.493 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1253, allocations: 288.7 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1256, allocations: 62.61 kB / 0.4933 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1257, allocations: 16.86 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1257, allocations: 0 / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.1259, allocations: 63.39 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1259, allocations: 4 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007755/0.1267, allocations: 173.3 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.1268, allocations: 81.11 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.127, allocations: 149.8 kB / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1271, allocations: 25.7 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.1272, allocations: 104.1 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.1272, allocations: 27.64 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.1273, allocations: 17.72 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1275, allocations: 330.8 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.1276, allocations: 23.98 kB / 0.4943 GB, free: 5.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.1277, allocations: 42.5 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1279, allocations: 61.77 kB / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1279, allocations: 0 / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002468/0.1281, allocations: 97.53 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1282, allocations: 12.06 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1282, allocations: 0 / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1282, allocations: 0 / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1283, allocations: 15.98 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1283, allocations: 4 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.1284, allocations: 3.938 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1284, allocations: 8 kB / 0.4945 GB, free: 5.426 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 (10): * Single equations (assignments): 10 * 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 9.819e-05/0.1285, allocations: 129.6 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1286, allocations: 15.81 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.1286, allocations: 12.72 kB / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1286, allocations: 4 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1286, allocations: 0 / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1286, allocations: 3.938 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1291, allocations: 391.3 kB / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1291, allocations: 0 / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1291, allocations: 8 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1291, allocations: 0 / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1291, allocations: 11.97 kB / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1291, allocations: 0 / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1291, allocations: 0 / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1294, allocations: 208.2 kB / 0.4952 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.1294, allocations: 85.02 kB / 0.4953 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1295, allocations: 3.938 kB / 0.4953 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.1295, allocations: 4.375 kB / 0.4953 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1296, allocations: 11.98 kB / 0.4953 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1296, allocations: 8 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.29e-05/0.1297, allocations: 122.7 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1297, allocations: 192 / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.13, allocations: 28 kB / 0.4955 GB, free: 4.293 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 (8): * Single equations (assignments): 6 * 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.001053/0.131, allocations: 0.4953 MB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1312, allocations: 55.92 kB / 0.496 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1312, allocations: 0 / 0.496 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1313, allocations: 35.98 kB / 0.4961 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1317, allocations: 43.14 kB / 0.4961 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.1321, allocations: 216.5 kB / 0.4963 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1323, allocations: 0.6963 MB / 0.497 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.1324, allocations: 31.48 kB / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1324, allocations: 0 / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of Templates: time 0.003722/0.1361, allocations: 2.044 MB / 0.499 GB, free: 0.6641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches