Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 104.8 kB / 16.27 MB, free: 6.051 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.001324/0.001325, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.659/1.659, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2442/0.2442, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.002606/0.002606, allocations: 75.89 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.138, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.003061/0.1412, allocations: 1.543 MB / 442.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006022/0.1418, allocations: 331.5 kB / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.1419, allocations: 0 / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.1422, allocations: 123.6 kB / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1424, allocations: 95.69 kB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1427, allocations: 91.31 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1428, allocations: 79.81 kB / 442.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1429, allocations: 19.92 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.143, allocations: 39.89 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1432, allocations: 83.78 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1432, allocations: 4 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.1433, allocations: 24 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.1433, allocations: 23.91 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.1434, allocations: 39.67 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1435, allocations: 103.6 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1436, allocations: 0 / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1436, allocations: 0 / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1436, allocations: 3.938 kB / 443.1 MB, free: 4.316 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004438/0.144, allocations: 422.8 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1441, allocations: 11.89 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.1441, allocations: 16.75 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1443, allocations: 196 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1443, allocations: 384 / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1443, allocations: 8.359 kB / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1445, allocations: 45.81 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1445, allocations: 0 / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1445, allocations: 4 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1445, allocations: 4 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.1446, allocations: 27.92 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1449, allocations: 304.8 kB / 444.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1451, allocations: 38.56 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.1452, allocations: 28.94 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1452, allocations: 3.938 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.1452, allocations: 30.56 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1452, allocations: 7.875 kB / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005766/0.1458, allocations: 157.1 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1459, allocations: 51.41 kB / 444.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1461, allocations: 270.3 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1461, allocations: 25.7 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1461, allocations: 112.1 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1462, allocations: 27.64 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1462, allocations: 13.72 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.1463, allocations: 330.8 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.1464, allocations: 19.98 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.1465, allocations: 23.98 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1466, allocations: 52.81 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1466, allocations: 0 / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001631/0.1468, allocations: 89.52 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1468, allocations: 8 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1468, allocations: 0 / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1468, allocations: 0 / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.1469, allocations: 15.98 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1469, allocations: 0 / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.1469, allocations: 7.984 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1469, allocations: 4 kB / 445.4 MB, free: 1.777 MB / 318.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 6.388e-05/0.147, allocations: 133.7 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.147, allocations: 19.81 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.1473, allocations: 106.6 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1473, allocations: 8.297 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1473, allocations: 0 / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1473, allocations: 0 / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.1476, allocations: 366.5 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1476, allocations: 288 / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1477, allocations: 15.98 kB / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1477, allocations: 0 / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1477, allocations: 4 kB / 446 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1477, allocations: 7.875 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1477, allocations: 0 / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1479, allocations: 195.3 kB / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.1479, allocations: 84.95 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.148, allocations: 4 kB / 446.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.148, allocations: 7.922 kB / 446.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1481, allocations: 8 kB / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1481, allocations: 0 / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1482, allocations: 203.2 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1482, allocations: 0 / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1485, allocations: 23.94 kB / 446.6 MB, free: 0.5117 MB / 318.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.000851/0.1493, allocations: 395.3 kB / 447 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1496, allocations: 63.91 kB / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1496, allocations: 0 / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.1496, allocations: 23.98 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1499, allocations: 15.98 kB / 447.1 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.1505, allocations: 278.5 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1508, allocations: 0.7158 MB / 448 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.1509, allocations: 15.98 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1509, allocations: 11.44 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1509, allocations: 3.938 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.004258/0.1552, allocations: 1.16 MB / 449.2 MB, free: 13.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches