Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",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.001147/0.001147, allocations: 106.7 kB / 16.27 MB, free: 6.395 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.001288/0.001288, allocations: 193.2 kB / 17.2 MB, free: 5.973 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2165/0.2165, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001457/0.001457, allocations: 70.28 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 57.79 MB / 440.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003719/0.131, allocations: 1.555 MB / 442.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.1318, allocations: 323.5 kB / 442.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1319, allocations: 0 / 442.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1321, allocations: 79.7 kB / 442.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1324, allocations: 63.81 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1327, allocations: 87.73 kB / 442.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1328, allocations: 59.91 kB / 442.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.1329, allocations: 15.98 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.133, allocations: 27.91 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.1331, allocations: 55.77 kB / 442.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1331, allocations: 0 / 442.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.1332, allocations: 31.98 kB / 442.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1333, allocations: 19.92 kB / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.1333, allocations: 19.81 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1335, allocations: 87.72 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1335, allocations: 0 / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1335, allocations: 0 / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1335, allocations: 0 / 443 MB, free: 4.422 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.0003781/0.1339, allocations: 395.1 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.134, allocations: 15.89 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.134, allocations: 30.75 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1341, allocations: 12.75 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1342, allocations: 194.2 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1342, allocations: 384 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1343, allocations: 8.359 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1344, allocations: 49.62 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1344, allocations: 7.844 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1344, allocations: 0 / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1344, allocations: 0 / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.1345, allocations: 27.98 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.1349, allocations: 288.8 kB / 444 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1351, allocations: 42.56 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1351, allocations: 20.94 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1352, allocations: 7.938 kB / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.1352, allocations: 30.56 kB / 444.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.1352, allocations: 0 / 444.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005436/0.1357, allocations: 161.2 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1358, allocations: 51.41 kB / 444.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1359, allocations: 194.1 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.1359, allocations: 33.7 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.136, allocations: 100 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.136, allocations: 11.8 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.136, allocations: 17.72 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.1361, allocations: 330.7 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1362, allocations: 19.98 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.1362, allocations: 23.98 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1364, allocations: 52.83 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1364, allocations: 0 / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.1365, allocations: 85.56 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1366, allocations: 8 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1366, allocations: 0 / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1366, allocations: 0 / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.1366, allocations: 19.92 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1367, allocations: 0 / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.1367, allocations: 4 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1367, allocations: 8.219 kB / 445.2 MB, free: 1.984 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 5.605e-05/0.1368, allocations: 125.8 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1368, allocations: 7.906 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.137, allocations: 109.9 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.137, allocations: 4 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.137, allocations: 0 / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.137, allocations: 3.938 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1374, allocations: 370.7 kB / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1374, allocations: 0 / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.1374, allocations: 12 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.1374, allocations: 0 / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1374, allocations: 3.984 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1375, allocations: 7.938 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1375, allocations: 0 / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1376, allocations: 179.4 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.1377, allocations: 89 kB / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1377, allocations: 4 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.1378, allocations: 7.938 kB / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.1378, allocations: 7.984 kB / 446.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1378, allocations: 4 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.1379, allocations: 143.2 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1379, allocations: 0 / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1381, allocations: 19.98 kB / 446.3 MB, free: 0.8047 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.001092/0.1392, allocations: 1.007 MB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1394, allocations: 55.89 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1394, allocations: 0 / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.1395, allocations: 27.98 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1399, allocations: 23.86 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1415, allocations: 1.539 MB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1418, allocations: 0.708 MB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1419, allocations: 15.84 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.1419, allocations: 27.42 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1419, allocations: 0 / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1607, allocations: 2.634 MB / 452.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.828, allocations: 3.938 kB / 452.3 MB, free: 10.7 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches