Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 105.8 kB / 16.41 MB, free: 6.402 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.00142/0.00142, allocations: 187 kB / 17.34 MB, free: 5.699 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.583/1.583, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2214/0.2214, allocations: 43.53 MB / 314.1 MB, free: 448 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.001343/0.001343, allocations: 73.61 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002928/0.1227, allocations: 1.546 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.1234, allocations: 331.5 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.1234, allocations: 0 / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1237, allocations: 27.86 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1239, allocations: 39.78 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1241, allocations: 91.8 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1243, allocations: 55.84 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.1244, allocations: 23.91 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.1244, allocations: 19.88 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.1245, allocations: 19.91 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1245, allocations: 0 / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.1246, allocations: 35.98 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1247, allocations: 11.94 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1247, allocations: 19.86 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1249, allocations: 75.72 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1249, allocations: 4 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1249, allocations: 0 / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1249, allocations: 0 / 0.4901 GB, free: 9.48 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.0004235/0.1253, allocations: 379.2 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1254, allocations: 11.89 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1254, allocations: 8.844 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1256, allocations: 184.3 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1256, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1256, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1258, allocations: 49.81 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1258, allocations: 0 / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1258, allocations: 8 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1258, allocations: 0 / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.228e-05/0.1259, allocations: 31.91 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1263, allocations: 280.8 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1265, allocations: 42.56 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.1266, allocations: 24.94 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1266, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1267, allocations: 34.5 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1267, allocations: 0 / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005347/0.1272, allocations: 149.3 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1273, allocations: 55.41 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1274, allocations: 138.1 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1274, allocations: 25.7 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1275, allocations: 100.1 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.1275, allocations: 23.64 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1276, allocations: 17.72 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1277, allocations: 322.8 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.1277, allocations: 19.98 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.1278, allocations: 23.98 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.128, allocations: 52.83 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.128, allocations: 0 / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.1282, allocations: 85.78 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1282, allocations: 11.94 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1282, allocations: 0 / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1282, allocations: 0 / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.1283, allocations: 15.98 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1283, allocations: 0 / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.1283, allocations: 8 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1284, allocations: 4 kB / 0.4921 GB, free: 7.188 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 9.115e-05/0.1285, allocations: 125.7 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1285, allocations: 7.906 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.1287, allocations: 101.9 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1287, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1287, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1288, allocations: 7.984 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1292, allocations: 346.4 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1292, allocations: 4 kB / 0.4927 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.1292, allocations: 11.98 kB / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1292, allocations: 0 / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1293, allocations: 0 / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1293, allocations: 7.938 kB / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1293, allocations: 7.938 kB / 0.4927 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1295, allocations: 171.7 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.1295, allocations: 85.02 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1296, allocations: 4.062 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.1296, allocations: 15.92 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1297, allocations: 4 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1297, allocations: 0 / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.1298, allocations: 115 kB / 0.4931 GB, free: 6.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 7.938 kB / 0.4931 GB, free: 6.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.13, allocations: 16 kB / 0.4931 GB, free: 6.062 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.0008672/0.1309, allocations: 393.9 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1311, allocations: 51.91 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1311, allocations: 4 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.1312, allocations: 28.11 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1315, allocations: 19.84 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.132, allocations: 181.4 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1322, allocations: 0.6962 MB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.1323, allocations: 15.98 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.1323, allocations: 11.44 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1323, allocations: 0 / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of Templates: time 0.003651/0.136, allocations: 1.101 MB / 0.4956 GB, free: 3.551 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches