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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001027/0.001027, allocations: 96.14 kB / 15.87 MB, free: 16 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.001033/0.001033, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.317/1.317, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.2968/0.2968, allocations: 43.49 MB / 313.5 MB, free: 8.273 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.001368/0.001368, allocations: 59.91 kB / 382.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 57.78 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002942/0.1315, allocations: 1.634 MB / 441.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.1321, allocations: 335.5 kB / 441.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.1322, allocations: 0 / 441.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1325, allocations: 91.81 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1326, allocations: 63.84 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1329, allocations: 87.83 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.133, allocations: 79.77 kB / 442.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1331, allocations: 36.36 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.1332, allocations: 31.91 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1333, allocations: 55.81 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1333, allocations: 0 / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.1334, allocations: 28 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.1335, allocations: 23.92 kB / 442.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.1335, allocations: 35.73 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1337, allocations: 107.6 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1337, allocations: 0 / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1337, allocations: 3.938 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1337, allocations: 0 / 442.5 MB, free: 11.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004868/0.1342, allocations: 411 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1342, allocations: 8.031 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.1343, allocations: 38.73 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1343, allocations: 16.75 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1345, allocations: 204.9 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1346, allocations: 4.359 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1346, allocations: 8.125 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1348, allocations: 83.27 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1348, allocations: 7.891 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.1348, allocations: 0 / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1348, allocations: 0 / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1349, allocations: 43.91 kB / 443.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1354, allocations: 397 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1357, allocations: 89.14 kB / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.1357, allocations: 29.8 kB / 443.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1358, allocations: 4 kB / 443.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1358, allocations: 34.56 kB / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1358, allocations: 0 / 443.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007113/0.1365, allocations: 248.6 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1366, allocations: 81.05 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1368, allocations: 230.3 kB / 444.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1368, allocations: 25.7 kB / 444.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1369, allocations: 108.1 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1369, allocations: 27.56 kB / 444.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.137, allocations: 25.7 kB / 444.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1371, allocations: 326.8 kB / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.1372, allocations: 35.97 kB / 444.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.1373, allocations: 45.64 kB / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1374, allocations: 89.8 kB / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1375, allocations: 0 / 445.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002395/0.1377, allocations: 133.4 kB / 445.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1377, allocations: 4 kB / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1377, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1378, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.1378, allocations: 23.98 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1379, allocations: 3.938 kB / 445.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1379, allocations: 8 kB / 445.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1379, allocations: 4 kB / 445.2 MB, free: 8.914 MB / 382.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 0.0001047/0.138, allocations: 141.7 kB / 445.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.1381, allocations: 11.81 kB / 445.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.1384, allocations: 150.7 kB / 445.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1384, allocations: 4 kB / 445.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1384, allocations: 8.125 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1384, allocations: 0 / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.139, allocations: 0.503 MB / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1391, allocations: 3.938 kB / 446.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.1391, allocations: 27.92 kB / 446.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1391, allocations: 3.938 kB / 446.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1392, allocations: 0 / 446.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1392, allocations: 4 kB / 446.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1392, allocations: 0 / 446.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.1395, allocations: 303.5 kB / 446.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1396, allocations: 92.94 kB / 446.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1396, allocations: 4 kB / 446.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1397, allocations: 8 kB / 446.5 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1398, allocations: 11.98 kB / 446.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1398, allocations: 4 kB / 446.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1399, allocations: 172.2 kB / 446.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 446.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1402, allocations: 20 kB / 446.7 MB, free: 7.34 MB / 382.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.001423/0.1417, allocations: 1.134 MB / 447.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1419, allocations: 79.89 kB / 447.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1419, allocations: 0 / 447.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.142, allocations: 51.91 kB / 448 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1425, allocations: 23.84 kB / 448 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1446, allocations: 1.868 MB / 449.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1449, allocations: 0.7239 MB / 450.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.145, allocations: 24.77 kB / 450.6 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.1451, allocations: 39.42 kB / 450.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1451, allocations: 0 / 450.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.1585, allocations: 2.906 MB / 453.5 MB, free: 376 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.1587, allocations: 234.8 kB / 453.8 MB, free: 112 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.033, allocations: 4 kB / 453.8 MB, free: 108 kB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > 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","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches