Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 111.8 kB / 17.09 MB, free: 6.008 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.001325/0.001325, allocations: 190.2 kB / 18.02 MB, free: 5.094 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.686/1.686, 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.3247/0.3247, 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.001566/0.001566, allocations: 75.88 kB / 442.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1118, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003948/0.1158, allocations: 1.687 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1173, allocations: 0.8053 MB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1174, allocations: 7.938 kB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1177, allocations: 47.81 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.118, allocations: 67.69 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1184, allocations: 87.77 kB / 0.4913 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1186, allocations: 95.69 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1187, allocations: 12.22 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1188, allocations: 43.78 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.1189, allocations: 27.84 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.119, allocations: 8 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1191, allocations: 43.98 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.1192, allocations: 35.8 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.1193, allocations: 47.66 kB / 0.4916 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1196, allocations: 123.6 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1196, allocations: 0 / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1196, allocations: 0 / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1196, allocations: 0 / 0.4917 GB, free: 8.578 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.0007036/0.1203, allocations: 442.1 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1204, allocations: 15.89 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1204, allocations: 12.84 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.1208, allocations: 223.7 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1208, allocations: 384 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1208, allocations: 12.11 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.121, allocations: 53.67 kB / 0.4924 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.121, allocations: 3.906 kB / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1211, allocations: 0 / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1211, allocations: 4 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.1212, allocations: 19.98 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.1216, allocations: 300.8 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1218, allocations: 58.62 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1219, allocations: 20.84 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1219, allocations: 0 / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1221, allocations: 71.33 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1221, allocations: 0 / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006223/0.1227, allocations: 181.1 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1227, allocations: 51.41 kB / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.123, allocations: 262.5 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.1231, allocations: 29.7 kB / 0.4934 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.1232, allocations: 120 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1232, allocations: 23.69 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1233, allocations: 25.64 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1234, allocations: 334.8 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.1235, allocations: 15.98 kB / 0.4939 GB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1235, allocations: 38.08 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1237, allocations: 61.7 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1237, allocations: 0 / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.1239, allocations: 109.4 kB / 0.4941 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1239, allocations: 4 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1239, allocations: 0 / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1239, allocations: 4 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.124, allocations: 19.98 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1241, allocations: 3.938 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1241, allocations: 4 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1241, allocations: 7.969 kB / 0.4941 GB, free: 5.855 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.0001202/0.1242, allocations: 141.4 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1243, allocations: 15.81 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.1243, allocations: 21.39 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1243, allocations: 0 / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1244, allocations: 0 / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.1244, allocations: 88.92 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1244, allocations: 7.938 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.1245, allocations: 7.984 kB / 0.4944 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1245, allocations: 4 kB / 0.4944 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002206/0.1248, allocations: 176.9 kB / 0.4945 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002636/0.125, allocations: 282.5 kB / 0.4948 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.452e-05/0.1251, allocations: 23.98 kB / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1253, allocations: 196.5 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of Backend: time 1.703e-06/0.1253, allocations: 0 / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.1267, allocations: 0.4946 MB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006888/0.1274, allocations: 0.7105 MB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of Templates: time 0.00443/0.1318, allocations: 1.79 MB / 0.4979 GB, free: 1.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches