Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009494, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 179.8 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 223.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4436/0.4436, allocations: 43.57 MB / 315 MB, free: 8.902 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.0005426/0.0005426, allocations: 18.66 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1382, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002197/0.1404, allocations: 1.333 MB / 444.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.1412, allocations: 339.6 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.1412, allocations: 0 / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.1418, allocations: 455.2 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1422, allocations: 235.5 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1425, allocations: 155.7 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1428, allocations: 159.7 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1429, allocations: 20.27 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1431, allocations: 115.7 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1433, allocations: 195.6 kB / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1433, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.1434, allocations: 35.92 kB / 446.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1435, allocations: 79.69 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.1436, allocations: 124.7 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1439, allocations: 246.9 kB / 446.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1439, allocations: 4 kB / 446.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1439, allocations: 4 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1439, allocations: 0 / 446.9 MB, free: 9.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006766/0.1446, allocations: 0.595 MB / 447.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1447, allocations: 12.03 kB / 447.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1447, allocations: 36.47 kB / 447.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.145, allocations: 304.1 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.145, allocations: 384 / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.145, allocations: 8.375 kB / 447.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1452, allocations: 77.72 kB / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1453, allocations: 0 / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1453, allocations: 0 / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1453, allocations: 0 / 447.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1454, allocations: 51.97 kB / 448 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.146, allocations: 404.6 kB / 448.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1461, allocations: 54.55 kB / 448.4 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.1462, allocations: 28.94 kB / 448.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1462, allocations: 4 kB / 448.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1463, allocations: 30.56 kB / 448.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1463, allocations: 0 / 448.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009306/0.1472, allocations: 343.9 kB / 448.8 MB, free: 7.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1473, allocations: 55.41 kB / 448.9 MB, free: 7.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.1481, allocations: 0.8535 MB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1481, allocations: 29.64 kB / 449.8 MB, free: 6.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1483, allocations: 216.1 kB / 450 MB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.1483, allocations: 27.55 kB / 450 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1483, allocations: 13.72 kB / 450 MB, free: 5.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1485, allocations: 366.7 kB / 450.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1486, allocations: 39.97 kB / 450.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1487, allocations: 51.95 kB / 450.5 MB, free: 5.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.149, allocations: 104.8 kB / 450.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.149, allocations: 0 / 450.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003771/0.1494, allocations: 169.2 kB / 450.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1494, allocations: 8 kB / 450.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1494, allocations: 320 / 450.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1494, allocations: 4.266 kB / 450.7 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1496, allocations: 23.92 kB / 450.8 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1496, allocations: 7.938 kB / 450.8 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.1497, allocations: 19.92 kB / 450.8 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1497, allocations: 3.984 kB / 450.8 MB, free: 5.074 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 (7): * Single equations (assignments): 7 * 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.0001797/0.1499, allocations: 217.8 kB / 451 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.1499, allocations: 43.42 kB / 451 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.1503, allocations: 201.3 kB / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1504, allocations: 4 kB / 451.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1504, allocations: 0 / 451.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1504, allocations: 3.938 kB / 451.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.1511, allocations: 0.5141 MB / 451.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1511, allocations: 0 / 451.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.1512, allocations: 27.98 kB / 451.8 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1512, allocations: 0 / 451.8 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1512, allocations: 7.938 kB / 451.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1512, allocations: 3.938 kB / 451.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1512, allocations: 3.938 kB / 451.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1516, allocations: 270.9 kB / 452.1 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.1517, allocations: 112.5 kB / 452.2 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1517, allocations: 3.938 kB / 452.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1518, allocations: 19.98 kB / 452.2 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.1519, allocations: 4 kB / 452.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1519, allocations: 8 kB / 452.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000602/0.1525, allocations: 0.6472 MB / 452.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1525, allocations: 0 / 452.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1528, allocations: 24 kB / 452.9 MB, free: 2.871 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 (7): * Single equations (assignments): 7 * 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.00101/0.1538, allocations: 402.8 kB / 453.3 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.1541, allocations: 107.8 kB / 453.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1541, allocations: 0 / 453.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1543, allocations: 63.95 kB / 453.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1547, allocations: 25.41 kB / 453.5 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.156, allocations: 0.8923 MB / 454.4 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.1564, allocations: 0.8341 MB / 455.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.1565, allocations: 20.28 kB / 455.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1566, allocations: 15.42 kB / 455.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1566, allocations: 0 / 455.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of Templates: time 0.2348/0.3914, allocations: 1.424 MB / 456.7 MB, free: 45.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches