Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109.5 kB / 16.41 MB, free: 6.477 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.00129/0.00129, allocations: 185.5 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.45/1.45, allocations: 205.1 MB / 223.2 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.222/0.222, allocations: 43.51 MB / 314.1 MB, free: 476 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.00149/0.00149, allocations: 67.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002905/0.1247, allocations: 1.573 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007623/0.1255, allocations: 327.5 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.1255, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1259, allocations: 23.86 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1261, allocations: 47.77 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1264, allocations: 71.84 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1266, allocations: 79.69 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1268, allocations: 24.16 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1269, allocations: 23.92 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.127, allocations: 27.84 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.127, allocations: 4 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.1271, allocations: 31.98 kB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.1272, allocations: 11.94 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1273, allocations: 31.8 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1275, allocations: 87.72 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1275, allocations: 0 / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1275, allocations: 4 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1275, allocations: 3.984 kB / 0.4902 GB, free: 9.438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005752/0.1281, allocations: 379.2 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1282, allocations: 15.88 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.1282, allocations: 8.844 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1285, allocations: 188.1 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1285, allocations: 4.375 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1285, allocations: 4.375 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1288, allocations: 77.52 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1288, allocations: 0 / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1288, allocations: 0 / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1288, allocations: 0 / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.129, allocations: 31.97 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.1295, allocations: 292.7 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1297, allocations: 50.5 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.1298, allocations: 28.97 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1298, allocations: 0 / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1299, allocations: 30.56 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1299, allocations: 0 / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008838/0.1308, allocations: 177.3 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1308, allocations: 59.39 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1311, allocations: 160.4 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1311, allocations: 25.7 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1312, allocations: 92.14 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.1312, allocations: 31.55 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1313, allocations: 21.72 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1315, allocations: 318.8 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1316, allocations: 27.98 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.1317, allocations: 20.36 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.1319, allocations: 64.77 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1319, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003222/0.1323, allocations: 101.6 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1323, allocations: 11.94 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1323, allocations: 0 / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1323, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1325, allocations: 15.98 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1325, allocations: 11.88 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.1326, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1326, allocations: 4 kB / 0.4923 GB, free: 7.004 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 (8): * Single equations (assignments): 8 * 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.0001262/0.1327, allocations: 129.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.1328, allocations: 7.906 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.1332, allocations: 118.3 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1332, allocations: 4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1332, allocations: 3.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1332, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.1339, allocations: 390.7 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1339, allocations: 0 / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.134, allocations: 15.98 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1341, allocations: 7.938 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1341, allocations: 4 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1341, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1341, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.1345, allocations: 199.4 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.1345, allocations: 84.95 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1346, allocations: 4 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1347, allocations: 4 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1347, allocations: 7.984 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1348, allocations: 8 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1349, allocations: 118.1 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1349, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1354, allocations: 20 kB / 0.4934 GB, free: 5.793 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 (8): * Single equations (assignments): 8 * 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.001393/0.1368, allocations: 401.7 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.1371, allocations: 75.88 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1371, allocations: 0 / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1372, allocations: 31.98 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1378, allocations: 23.12 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.1384, allocations: 197.8 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1388, allocations: 0.6963 MB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.1389, allocations: 16.95 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.1389, allocations: 19.38 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1389, allocations: 0 / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of Templates: time 0.005068/0.144, allocations: 1.182 MB / 0.496 GB, free: 3.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches