Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001207/0.001207, allocations: 194.2 kB / 18.02 MB, free: 4.965 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2067/0.2067, allocations: 43.53 MB / 314.8 MB, free: 472 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.001536/0.001536, allocations: 67.89 kB / 442.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00326/0.1195, allocations: 1.687 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1209, allocations: 0.8131 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.121, allocations: 0 / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1214, allocations: 39.83 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1216, allocations: 59.69 kB / 0.4912 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1219, allocations: 91.77 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1221, allocations: 91.69 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.1222, allocations: 16.22 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.1223, allocations: 39.78 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.1224, allocations: 31.84 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1224, allocations: 4 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1225, allocations: 47.97 kB / 0.4915 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1226, allocations: 27.86 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1227, allocations: 31.75 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1229, allocations: 111.7 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1229, allocations: 0 / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1229, allocations: 0 / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1229, allocations: 0 / 0.4916 GB, free: 8.641 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.0005211/0.1234, allocations: 418.9 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1235, allocations: 11.89 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.1235, allocations: 8.844 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1238, allocations: 224.6 kB / 0.4923 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1238, allocations: 8.375 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1239, allocations: 4.125 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.124, allocations: 53.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.124, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1241, allocations: 4 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1241, allocations: 0 / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.1241, allocations: 15.98 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1245, allocations: 288.8 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1247, allocations: 66.66 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.1248, allocations: 16.86 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1248, allocations: 3.984 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.1249, allocations: 67.39 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.076e-06/0.1249, allocations: 4 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005109/0.1255, allocations: 173.2 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1255, allocations: 55.39 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1257, allocations: 191.3 kB / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1257, allocations: 33.64 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.1258, allocations: 108 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1258, allocations: 27.72 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1259, allocations: 25.66 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.126, allocations: 334.8 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.126, allocations: 16.36 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1261, allocations: 37.7 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1262, allocations: 61.77 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1262, allocations: 4 kB / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1264, allocations: 105.5 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1264, allocations: 4 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1265, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1265, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.1266, allocations: 27.92 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1266, allocations: 0 / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1266, allocations: 4 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1266, allocations: 3.938 kB / 0.4939 GB, free: 6.047 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.0001094/0.1268, allocations: 133.8 kB / 0.4941 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1268, allocations: 11.91 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1268, allocations: 17.39 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1269, allocations: 4 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1269, allocations: 0 / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1269, allocations: 84.92 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.127, allocations: 7.938 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.127, allocations: 0 / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.127, allocations: 11.98 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002072/0.1272, allocations: 172.9 kB / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002425/0.1275, allocations: 278.6 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.119e-05/0.1276, allocations: 23.98 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1277, allocations: 156.9 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.1277, allocations: 0 / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.129, allocations: 493.8 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006275/0.1297, allocations: 0.6824 MB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004197/0.1339, allocations: 1.786 MB / 0.4977 GB, free: 2.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches