Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 109.9 kB / 17.09 MB, free: 5.984 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.001211/0.001211, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.303/1.303, 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.196/0.196, allocations: 43.52 MB / 314.8 MB, free: 476 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.001435/0.001435, allocations: 71.89 kB / 442.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002926/0.1094, allocations: 1.694 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1107, allocations: 0.8014 MB / 0.4911 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.1108, allocations: 3.938 kB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1111, allocations: 43.81 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1113, allocations: 51.7 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1115, allocations: 91.77 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1117, allocations: 95.69 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1118, allocations: 16.2 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.1119, allocations: 39.8 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.112, allocations: 31.84 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.112, allocations: 4 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.1121, allocations: 43.92 kB / 0.4915 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1122, allocations: 23.92 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.1122, allocations: 43.72 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1124, allocations: 103.7 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1124, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1124, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1124, allocations: 0 / 0.4916 GB, free: 8.648 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.0005151/0.113, allocations: 418.4 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.113, allocations: 11.89 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.113, allocations: 8.844 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1133, allocations: 220 kB / 0.4922 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1134, allocations: 384 / 0.4922 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1134, allocations: 12.06 kB / 0.4923 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1136, allocations: 53.67 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1136, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1136, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1136, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.1137, allocations: 23.97 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1141, allocations: 292.8 kB / 0.4926 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1143, allocations: 58.67 kB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.1143, allocations: 20.84 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1144, allocations: 4 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.1145, allocations: 71.23 kB / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1145, allocations: 4 kB / 0.4928 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005257/0.1151, allocations: 165.3 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1151, allocations: 51.41 kB / 0.493 GB, free: 7.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1153, allocations: 190.1 kB / 0.4932 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1153, allocations: 25.7 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.1154, allocations: 104.1 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1154, allocations: 27.64 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1155, allocations: 25.72 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1156, allocations: 326.8 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1157, allocations: 20.36 kB / 0.4937 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.1157, allocations: 41.64 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1159, allocations: 49.72 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1159, allocations: 7.938 kB / 0.4938 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1161, allocations: 113.6 kB / 0.4939 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1161, allocations: 4 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1161, allocations: 0 / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1161, allocations: 4 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.1162, allocations: 19.92 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1162, allocations: 0 / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1163, allocations: 4 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1163, allocations: 7.938 kB / 0.4939 GB, free: 6.078 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 0.0001153/0.1164, allocations: 137.6 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1164, allocations: 11.81 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1165, allocations: 12.72 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1165, allocations: 0 / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1165, allocations: 3.938 kB / 0.4941 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.1166, allocations: 89 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1166, allocations: 7.938 kB / 0.4942 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.1166, allocations: 4 kB / 0.4942 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1167, allocations: 7.984 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002167/0.1169, allocations: 172.9 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000244/0.1172, allocations: 274.6 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.06e-05/0.1172, allocations: 27.98 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1174, allocations: 144 kB / 0.4948 GB, free: 5.152 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.1174, allocations: 0 / 0.4948 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1187, allocations: 482.3 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006251/0.1193, allocations: 0.6666 MB / 0.4959 GB, free: 4.012 MB / 382.1 MB Notification: Performance of Templates: time 0.004577/0.1239, allocations: 1.79 MB / 0.4976 GB, free: 2.227 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches