Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.0008377/0.0008377, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001038/0.001038, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.279/1.279, allocations: 223.2 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1935/0.1935, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 61.92 MB / 472.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001905/0.1318, allocations: 1.274 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.1326, allocations: 387.4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.1326, allocations: 4 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1328, allocations: 23.91 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.133, allocations: 27.91 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1332, allocations: 79.34 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1333, allocations: 55.78 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1335, allocations: 15.98 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.1335, allocations: 15.94 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.1336, allocations: 15.86 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1336, allocations: 0 / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1337, allocations: 39.92 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1337, allocations: 11.92 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.1338, allocations: 45.56 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1339, allocations: 64.08 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1339, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1339, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1339, allocations: 4 kB / 474.4 MB, free: 11.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004257/0.1344, allocations: 383.2 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1344, allocations: 8.031 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.1345, allocations: 30.75 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1345, allocations: 8.844 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1347, allocations: 192.2 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.1347, allocations: 4.312 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1347, allocations: 4.375 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1348, allocations: 57.62 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1349, allocations: 3.938 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1349, allocations: 4 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1349, allocations: 0 / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.135, allocations: 23.98 kB / 475.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1353, allocations: 276.9 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1355, allocations: 46.5 kB / 475.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.1356, allocations: 16.94 kB / 475.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1356, allocations: 0 / 475.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1357, allocations: 34.56 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1357, allocations: 4 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005699/0.1362, allocations: 157.2 kB / 475.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1363, allocations: 55.41 kB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1365, allocations: 156.3 kB / 475.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1365, allocations: 25.7 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1366, allocations: 92.14 kB / 475.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1366, allocations: 19.73 kB / 476 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.1366, allocations: 13.72 kB / 476 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1368, allocations: 322.7 kB / 476.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1368, allocations: 23.98 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.1369, allocations: 27.97 kB / 476.3 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.137, allocations: 52.78 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1371, allocations: 4 kB / 476.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1372, allocations: 85.58 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1373, allocations: 7.984 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1373, allocations: 0 / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1373, allocations: 0 / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.1374, allocations: 12 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1374, allocations: 8 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.1374, allocations: 11.92 kB / 476.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1374, allocations: 0 / 476.5 MB, free: 8.812 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 8.679e-05/0.1375, allocations: 117.8 kB / 476.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1376, allocations: 7.906 kB / 476.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1378, allocations: 102 kB / 476.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1378, allocations: 0 / 476.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1378, allocations: 320 / 476.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1378, allocations: 7.922 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1382, allocations: 358.4 kB / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1382, allocations: 288 / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.1383, allocations: 16 kB / 477.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1383, allocations: 3.984 kB / 477.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1383, allocations: 7.938 kB / 477.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1383, allocations: 0 / 477.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1383, allocations: 3.938 kB / 477.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1387, allocations: 187.4 kB / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1387, allocations: 85.03 kB / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1387, allocations: 3.938 kB / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1388, allocations: 8 kB / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1389, allocations: 7.984 kB / 477.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1389, allocations: 8 kB / 477.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.139, allocations: 117.2 kB / 477.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.139, allocations: 0 / 477.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1392, allocations: 19.98 kB / 477.6 MB, free: 7.668 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.001292/0.1405, allocations: 1.007 MB / 478.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1407, allocations: 59.84 kB / 478.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1407, allocations: 4 kB / 478.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.1408, allocations: 27.98 kB / 478.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1411, allocations: 18.94 kB / 478.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1427, allocations: 1.478 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.143, allocations: 0.6978 MB / 480.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.1431, allocations: 8.062 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1431, allocations: 23.42 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1431, allocations: 0 / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1624, allocations: 2.112 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/0.1629, allocations: 227.8 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.905, allocations: 0 / 483.2 MB, free: 2.121 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches