Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 109.4 kB / 16.41 MB, free: 6.473 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.001134/0.001134, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.374/1.374, allocations: 205.1 MB / 223.2 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.1987/0.1987, allocations: 43.54 MB / 314.1 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.001503/0.001503, allocations: 67.89 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002646/0.1126, allocations: 1.542 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.1132, allocations: 327.5 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.1133, allocations: 7.938 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1136, allocations: 75.78 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1138, allocations: 67.73 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.114, allocations: 87.8 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1142, allocations: 63.89 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1143, allocations: 19.98 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.1143, allocations: 35.78 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.1144, allocations: 43.89 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1145, allocations: 4 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.1145, allocations: 27.98 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1146, allocations: 15.92 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1146, allocations: 19.81 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1148, allocations: 91.72 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1148, allocations: 0 / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1148, allocations: 4 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1148, allocations: 0 / 0.4903 GB, free: 9.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004546/0.1153, allocations: 399 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1153, allocations: 15.89 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1154, allocations: 8.844 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1156, allocations: 196 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1156, allocations: 384 / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1156, allocations: 4.375 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1157, allocations: 57.81 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1157, allocations: 0 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1157, allocations: 0 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1158, allocations: 0 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1158, allocations: 27.91 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1162, allocations: 288.8 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1164, allocations: 46.56 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.1165, allocations: 16.94 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1165, allocations: 0 / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1165, allocations: 38.5 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1165, allocations: 4 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005171/0.117, allocations: 149.3 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1171, allocations: 55.34 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1173, allocations: 190.2 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1173, allocations: 25.7 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1173, allocations: 100 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1174, allocations: 27.72 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.1174, allocations: 13.72 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1175, allocations: 330.8 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.1176, allocations: 23.98 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.1177, allocations: 23.92 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1178, allocations: 49.02 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1178, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001844/0.118, allocations: 89.56 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.118, allocations: 11.88 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.118, allocations: 4 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.118, allocations: 0 / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.1181, allocations: 15.98 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1181, allocations: 0 / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.1181, allocations: 4 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1182, allocations: 4 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.631e-05/0.1183, allocations: 129.7 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1183, allocations: 7.906 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.1185, allocations: 102 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1185, allocations: 7.938 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1185, allocations: 0 / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1185, allocations: 0 / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.1189, allocations: 354.5 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1189, allocations: 0 / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.119, allocations: 11.98 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.119, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.119, allocations: 4 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.119, allocations: 7.938 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.119, allocations: 192 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1192, allocations: 191.3 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.1193, allocations: 81.02 kB / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1193, allocations: 0 / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.1194, allocations: 11.94 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.1194, allocations: 11.98 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1194, allocations: 0 / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1195, allocations: 144.1 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1195, allocations: 0 / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1198, allocations: 15.98 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008366/0.1206, allocations: 406.4 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1208, allocations: 59.91 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1208, allocations: 0 / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.1209, allocations: 23.98 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1212, allocations: 24.34 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1216, allocations: 209.9 kB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1218, allocations: 0.7041 MB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1219, allocations: 8 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1219, allocations: 15.42 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1219, allocations: 0 / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of Templates: time 0.003106/0.125, allocations: 1.135 MB / 0.4959 GB, free: 3.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches