Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 111.7 kB / 17.09 MB, free: 5.988 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.001721/0.001721, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.359/1.359, 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.2082/0.2082, 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.00153/0.00153, allocations: 73.45 kB / 442.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003489/0.1201, allocations: 1.694 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1216, allocations: 0.8053 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1218, allocations: 0 / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.1222, allocations: 43.81 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1225, allocations: 55.7 kB / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1229, allocations: 91.75 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1231, allocations: 95.7 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1233, allocations: 12.2 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1234, allocations: 43.78 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.1235, allocations: 27.86 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1235, allocations: 4 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1237, allocations: 47.91 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.1238, allocations: 23.92 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.1238, allocations: 39.73 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1241, allocations: 107.7 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1241, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1241, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1241, allocations: 4 kB / 0.4916 GB, free: 8.625 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.0006414/0.1248, allocations: 410.9 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1248, allocations: 11.89 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.1249, allocations: 8.844 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1253, allocations: 216 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1253, allocations: 8.312 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1253, allocations: 8.125 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1255, allocations: 53.67 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1255, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1256, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1256, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.1257, allocations: 23.98 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.1261, allocations: 284.8 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1263, allocations: 62.66 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.1264, allocations: 20.84 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1264, allocations: 4 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.1265, allocations: 71.23 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.498e-06/0.1266, allocations: 4 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.1271, allocations: 173.5 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1272, allocations: 55.34 kB / 0.493 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1273, allocations: 186.2 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1274, allocations: 25.7 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.1274, allocations: 100.1 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1275, allocations: 31.62 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.1275, allocations: 25.66 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1276, allocations: 334.8 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.1277, allocations: 19.98 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.1278, allocations: 33.7 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1279, allocations: 57.66 kB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1279, allocations: 0 / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.1281, allocations: 97.58 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1281, allocations: 8.031 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1281, allocations: 0 / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1281, allocations: 4 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.1282, allocations: 23.92 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1282, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.1283, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1283, allocations: 3.938 kB / 0.4939 GB, free: 6.066 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.83e-05/0.1284, allocations: 133.8 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1285, allocations: 11.81 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1285, allocations: 16.72 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1285, allocations: 3.938 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1285, allocations: 0 / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1286, allocations: 89 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1286, allocations: 3.938 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.1286, allocations: 4 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1287, allocations: 11.98 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002121/0.1289, allocations: 173 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002482/0.1292, allocations: 274.7 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.079e-05/0.1292, allocations: 27.98 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1294, allocations: 148 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.1294, allocations: 0 / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.1308, allocations: 486.7 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006564/0.1315, allocations: 0.666 MB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of Templates: time 0.004615/0.1361, allocations: 1.786 MB / 0.4976 GB, free: 2.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches