Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 105.6 kB / 17.03 MB, free: 6.098 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.002025/0.002025, allocations: 196.1 kB / 17.96 MB, free: 5.195 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.635/1.635, allocations: 205.1 MB / 223.8 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.2304/0.2304, allocations: 43.51 MB / 314.7 MB, free: 484 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.001577/0.001578, allocations: 66.97 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1373, allocations: 57.8 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002999/0.1404, allocations: 1.57 MB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005859/0.141, allocations: 323.5 kB / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.141, allocations: 0 / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1413, allocations: 95.73 kB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1415, allocations: 79.72 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1418, allocations: 91.73 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1419, allocations: 83.83 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.142, allocations: 28.09 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.1421, allocations: 35.84 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.1422, allocations: 55.81 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1422, allocations: 4 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.1423, allocations: 31.98 kB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1423, allocations: 23.92 kB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1424, allocations: 39.67 kB / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1425, allocations: 103.6 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1426, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1426, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1426, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004113/0.143, allocations: 414.9 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.143, allocations: 11.89 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1431, allocations: 16.75 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1433, allocations: 204 kB / 445.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1433, allocations: 8.375 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1433, allocations: 4.375 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1435, allocations: 83.31 kB / 445.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1435, allocations: 3.906 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1435, allocations: 0 / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1435, allocations: 0 / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.1436, allocations: 43.91 kB / 445.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1441, allocations: 397 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1444, allocations: 89.14 kB / 445.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.1445, allocations: 33.8 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1445, allocations: 4 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1445, allocations: 38.5 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1445, allocations: 0 / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006736/0.1452, allocations: 237.3 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.1452, allocations: 81.11 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1454, allocations: 235.5 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1454, allocations: 29.64 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.1455, allocations: 108.1 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1455, allocations: 27.56 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1456, allocations: 21.7 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.1456, allocations: 330.8 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.1457, allocations: 31.98 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.1458, allocations: 45.69 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1459, allocations: 81.67 kB / 447 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1459, allocations: 0 / 447 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1461, allocations: 137.5 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1462, allocations: 8 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1462, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1462, allocations: 4 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1463, allocations: 24.11 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1463, allocations: 3.938 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.1463, allocations: 7.938 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1463, allocations: 4 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 7.768e-05/0.1464, allocations: 133.8 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1465, allocations: 23.81 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1467, allocations: 146.5 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1468, allocations: 4 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1468, allocations: 3.938 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1468, allocations: 3.984 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.1474, allocations: 0.4947 MB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1474, allocations: 0 / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.1475, allocations: 36.17 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1475, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1475, allocations: 11.92 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1475, allocations: 4 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1475, allocations: 0 / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.1478, allocations: 299.4 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.1479, allocations: 92.94 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.148, allocations: 4 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.1481, allocations: 4 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1481, allocations: 11.98 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1481, allocations: 4 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1483, allocations: 171.2 kB / 448.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1483, allocations: 0 / 448.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1486, allocations: 23.98 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009148/0.1495, allocations: 401.5 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1498, allocations: 79.89 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1498, allocations: 0 / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.1499, allocations: 51.91 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1503, allocations: 27.86 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.1508, allocations: 292.3 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1512, allocations: 0.7157 MB / 450.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.1513, allocations: 28.45 kB / 450.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1513, allocations: 19.44 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1513, allocations: 0 / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.004411/0.1557, allocations: 1.305 MB / 451.6 MB, free: 12.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches