Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 107.4 kB / 17.2 MB, free: 6.273 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.001021/0.001021, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 44.17 MB / 336.1 MB, free: 3.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 69.67 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.135, allocations: 60.82 MB / 468.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003331/0.1384, allocations: 1.672 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.1392, allocations: 443.2 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.1393, allocations: 3.938 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.1398, allocations: 447.2 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1402, allocations: 243.5 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1406, allocations: 162.4 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1408, allocations: 163.6 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1409, allocations: 16.17 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.141, allocations: 107.8 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1413, allocations: 203.6 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1413, allocations: 4 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.1414, allocations: 27.98 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1415, allocations: 83.69 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.1416, allocations: 103 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1419, allocations: 251.2 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1419, allocations: 7.938 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1419, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1419, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.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.0006489/0.1426, allocations: 0.6336 MB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1426, allocations: 12.03 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1427, allocations: 34.75 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1427, allocations: 40.47 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.143, allocations: 296.1 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.143, allocations: 4.375 kB / 473.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.143, allocations: 8.125 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1432, allocations: 65.59 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1432, allocations: 0 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1432, allocations: 0 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1432, allocations: 0 / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.1433, allocations: 31.97 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.1438, allocations: 408.6 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.144, allocations: 50.5 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1441, allocations: 16.94 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1441, allocations: 0 / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1441, allocations: 34.56 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1441, allocations: 4 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005942/0.1447, allocations: 228 kB / 474.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1448, allocations: 59.41 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.1455, allocations: 0.8652 MB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1456, allocations: 29.7 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1457, allocations: 224 kB / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.1457, allocations: 19.73 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1458, allocations: 21.72 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1459, allocations: 358.8 kB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.146, allocations: 19.98 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.1461, allocations: 23.97 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1462, allocations: 60.7 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1462, allocations: 3.938 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1464, allocations: 121.1 kB / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1465, allocations: 4 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1465, allocations: 0 / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1465, allocations: 7.984 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.1466, allocations: 8 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1466, allocations: 3.938 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1466, allocations: 7.984 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1467, allocations: 0 / 476.2 MB, free: 6.988 MB / 350.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.0001723/0.1468, allocations: 217.8 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.1469, allocations: 39.52 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.1472, allocations: 141 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1472, allocations: 0 / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1472, allocations: 8.234 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1472, allocations: 0 / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1477, allocations: 474.3 kB / 477 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1477, allocations: 7.984 kB / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.1478, allocations: 8 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1478, allocations: 3.938 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1478, allocations: 0 / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1478, allocations: 0 / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1478, allocations: 4 kB / 477.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1481, allocations: 215 kB / 477.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1481, allocations: 116.5 kB / 477.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1482, allocations: 7.938 kB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.1483, allocations: 4 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1483, allocations: 3.984 kB / 477.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1483, allocations: 4 kB / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000549/0.1489, allocations: 0.6511 MB / 478.1 MB, free: 5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1489, allocations: 0 / 478.1 MB, free: 5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1491, allocations: 35.98 kB / 478.1 MB, free: 4.965 MB / 350.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.001378/0.1505, allocations: 1.049 MB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1507, allocations: 59.89 kB / 479.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1507, allocations: 0 / 479.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.1508, allocations: 31.98 kB / 479.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1512, allocations: 24.12 kB / 479.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.1544, allocations: 3.335 MB / 482.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1548, allocations: 0.8263 MB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.1549, allocations: 15.97 kB / 483.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.155, allocations: 115.4 kB / 483.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.155, allocations: 0 / 483.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.1698, allocations: 5.738 MB / 489.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.17, allocations: 232.4 kB / 489.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.981, allocations: 11.62 kB / 489.5 MB, free: 9.617 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches