Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 116.9 kB / 17.08 MB, free: 5.984 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.0009731/0.0009731, allocations: 198.9 kB / 18.01 MB, free: 5.07 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.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.2078/0.2078, allocations: 43.52 MB / 314.8 MB, free: 456 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.001585/0.001585, allocations: 74.7 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1225, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003148/0.1257, allocations: 1.543 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.1264, allocations: 323.4 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.1265, allocations: 4 kB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1268, allocations: 79.77 kB / 0.4904 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1271, allocations: 63.73 kB / 0.4905 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1274, allocations: 67.84 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1276, allocations: 67.88 kB / 0.4906 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1277, allocations: 15.98 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.1277, allocations: 39.77 kB / 0.4907 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1279, allocations: 47.91 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1279, allocations: 0 / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.128, allocations: 35.97 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.1281, allocations: 19.92 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1281, allocations: 27.75 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1283, allocations: 83.72 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1283, allocations: 0 / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1283, allocations: 0 / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1283, allocations: 0 / 0.4909 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.0004673/0.1288, allocations: 410.9 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1289, allocations: 11.89 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1289, allocations: 8.844 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1291, allocations: 188.1 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1291, allocations: 8.375 kB / 0.4915 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1292, allocations: 384 / 0.4915 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1293, allocations: 49.81 kB / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1293, allocations: 0 / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1293, allocations: 0 / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1293, allocations: 0 / 0.4915 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.1294, allocations: 27.92 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1298, allocations: 284.8 kB / 0.4918 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.13, allocations: 42.55 kB / 0.4919 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1301, allocations: 16.86 kB / 0.4919 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1301, allocations: 4 kB / 0.4919 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1302, allocations: 42.44 kB / 0.4919 GB, free: 8.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/0.1302, allocations: 3.984 kB / 0.4919 GB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005416/0.1307, allocations: 137.3 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1308, allocations: 59.33 kB / 0.4921 GB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.131, allocations: 202.2 kB / 0.4923 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.131, allocations: 29.7 kB / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.131, allocations: 104.1 kB / 0.4925 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1311, allocations: 27.62 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1311, allocations: 13.72 kB / 0.4925 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1312, allocations: 326.8 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.1313, allocations: 19.98 kB / 0.4928 GB, free: 7.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.1314, allocations: 15.98 kB / 0.4928 GB, free: 7.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1315, allocations: 48.83 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1315, allocations: 0 / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001854/0.1317, allocations: 85.52 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1317, allocations: 4 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1317, allocations: 0 / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1318, allocations: 4 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.1318, allocations: 11.98 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1318, allocations: 4 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.1319, allocations: 4 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1319, allocations: 0 / 0.493 GB, free: 6.984 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.788e-05/0.132, allocations: 133.7 kB / 0.4931 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.132, allocations: 7.906 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.1323, allocations: 93.91 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1323, allocations: 0 / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1323, allocations: 4.312 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1323, allocations: 0 / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1327, allocations: 354.5 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1327, allocations: 0 / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.1328, allocations: 15.98 kB / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1328, allocations: 0 / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1328, allocations: 0 / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1328, allocations: 3.938 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1328, allocations: 3.938 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.133, allocations: 187.3 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.1331, allocations: 81.02 kB / 0.4938 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1331, allocations: 3.984 kB / 0.4938 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.1332, allocations: 11.94 kB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1332, allocations: 4 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1332, allocations: 0 / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1334, allocations: 168 kB / 0.494 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1334, allocations: 0 / 0.494 GB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1336, allocations: 19.98 kB / 0.494 GB, free: 5.805 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.0008815/0.1345, allocations: 408.2 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1347, allocations: 47.89 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1347, allocations: 8 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.1348, allocations: 19.98 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1352, allocations: 15.86 kB / 0.4945 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.1356, allocations: 239.7 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1359, allocations: 0.7002 MB / 0.4954 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1359, allocations: 11.44 kB / 0.4954 GB, free: 4.352 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.136, allocations: 3.938 kB / 0.4954 GB, free: 4.348 MB / 382.1 MB Notification: Performance of Templates: time 0.003277/0.1392, allocations: 1.505 MB / 0.4969 GB, free: 2.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches