Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 110.1 kB / 16.41 MB, free: 6.48 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.001233/0.001233, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.588/1.588, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.214/0.214, allocations: 43.53 MB / 314.1 MB, free: 428 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.001518/0.001518, allocations: 69.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1308, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003229/0.1341, allocations: 1.55 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.1347, allocations: 327.4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1348, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1351, allocations: 83.77 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1353, allocations: 59.73 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1355, allocations: 67.86 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1357, allocations: 67.88 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1359, allocations: 19.97 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.1359, allocations: 35.78 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.136, allocations: 51.89 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1361, allocations: 4 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.1361, allocations: 27.98 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1362, allocations: 23.91 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1362, allocations: 23.75 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1364, allocations: 87.72 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1364, allocations: 0 / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1365, allocations: 0 / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1365, allocations: 0 / 0.4902 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.0005368/0.137, allocations: 403 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1371, allocations: 11.89 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1371, allocations: 8.844 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1373, allocations: 196.1 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.1373, allocations: 384 / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1374, allocations: 4.359 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1375, allocations: 53.81 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1375, allocations: 0 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1375, allocations: 0 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1375, allocations: 0 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.1376, allocations: 31.92 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.138, allocations: 276.8 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1382, allocations: 42.56 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1383, allocations: 16.94 kB / 0.4912 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1383, allocations: 3.938 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1383, allocations: 38.5 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1383, allocations: 0 / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005369/0.1389, allocations: 149.2 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1389, allocations: 51.41 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1391, allocations: 198.2 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1391, allocations: 29.7 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.1392, allocations: 108.1 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.1392, allocations: 19.64 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1393, allocations: 17.72 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1394, allocations: 326.8 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.1395, allocations: 23.92 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.1395, allocations: 15.98 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1396, allocations: 44.84 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1397, allocations: 0 / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.1398, allocations: 85.5 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1399, allocations: 4 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1399, allocations: 4 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1399, allocations: 288 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.14, allocations: 11.98 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.14, allocations: 0 / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.14, allocations: 12 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.14, allocations: 0 / 0.4923 GB, free: 6.992 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 0.0001004/0.1401, allocations: 133.7 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1402, allocations: 11.89 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1404, allocations: 97.89 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1404, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1404, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1404, allocations: 8.312 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1409, allocations: 354.5 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1409, allocations: 4 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.1409, allocations: 8 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1409, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1409, allocations: 3.984 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.141, allocations: 7.875 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.141, allocations: 3.938 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1412, allocations: 183.3 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1412, allocations: 81.02 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1412, allocations: 0 / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.1413, allocations: 11.92 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1414, allocations: 4 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1414, allocations: 0 / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1415, allocations: 168 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1415, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1418, allocations: 23.98 kB / 0.4934 GB, free: 5.801 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.0008908/0.1427, allocations: 392.7 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1428, allocations: 47.91 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1429, allocations: 0 / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.1429, allocations: 31.97 kB / 0.4938 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.0003476/0.1433, allocations: 19.14 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1437, allocations: 214 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1439, allocations: 0.7079 MB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.144, allocations: 8 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.144, allocations: 15.38 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.144, allocations: 0 / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.00345/0.1475, allocations: 1.112 MB / 0.4959 GB, free: 3.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches