Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001092/0.001092, 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.001029/0.001029, allocations: 206.2 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.514/1.514, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3818/0.3818, allocations: 43.49 MB / 313.5 MB, free: 8.488 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.00153/0.00153, allocations: 63.91 kB / 382.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 57.79 MB / 439.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003398/0.1233, allocations: 1.668 MB / 441.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.124, allocations: 347.5 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.1241, allocations: 8 kB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1247, allocations: 447.2 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.1251, allocations: 243.5 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1254, allocations: 143.8 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1257, allocations: 163.6 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1258, allocations: 28.39 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1259, allocations: 103.8 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1261, allocations: 203.6 kB / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1262, allocations: 0 / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.1263, allocations: 27.98 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1264, allocations: 83.69 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.1265, allocations: 107 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1268, allocations: 247 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1268, allocations: 0 / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.1268, allocations: 0 / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1268, allocations: 0 / 443.7 MB, free: 10.98 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.0008062/0.1276, allocations: 0.6413 MB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1276, allocations: 8.031 kB / 444.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.1277, allocations: 30.75 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.1278, allocations: 44.38 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1281, allocations: 304.1 kB / 444.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1281, allocations: 8.375 kB / 444.7 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1282, allocations: 8.125 kB / 444.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1283, allocations: 49.69 kB / 444.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1283, allocations: 3.938 kB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1284, allocations: 0 / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1284, allocations: 8 kB / 444.8 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.1285, allocations: 27.97 kB / 444.8 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.129, allocations: 408.6 kB / 445.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1292, allocations: 46.5 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1293, allocations: 16.94 kB / 445.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1293, allocations: 4 kB / 445.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1294, allocations: 30.56 kB / 445.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1294, allocations: 0 / 445.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006305/0.13, allocations: 236.1 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.13, allocations: 51.41 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.1308, allocations: 0.8691 MB / 446.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1308, allocations: 25.7 kB / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.131, allocations: 220.1 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1311, allocations: 19.73 kB / 446.7 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1311, allocations: 25.66 kB / 446.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1313, allocations: 358.8 kB / 447.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.1314, allocations: 23.97 kB / 447.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.1314, allocations: 19.98 kB / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1316, allocations: 52.83 kB / 447.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.1316, allocations: 3.938 kB / 447.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.1318, allocations: 129.1 kB / 447.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1318, allocations: 8 kB / 447.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1318, allocations: 3.984 kB / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1319, allocations: 0 / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.1319, allocations: 8 kB / 447.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1319, allocations: 7.938 kB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.132, allocations: 3.984 kB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.132, allocations: 4 kB / 447.3 MB, free: 7.078 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 (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.0001921/0.1322, allocations: 221.7 kB / 447.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.1323, allocations: 43.44 kB / 447.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.1326, allocations: 141.3 kB / 447.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1326, allocations: 4 kB / 447.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1326, allocations: 3.938 kB / 447.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1326, allocations: 0 / 447.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.1331, allocations: 470.5 kB / 448.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.1331, allocations: 3.938 kB / 448.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.1332, allocations: 8 kB / 448.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1332, allocations: 3.938 kB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1332, allocations: 4 kB / 448.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1332, allocations: 3.984 kB / 448.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1332, allocations: 0 / 448.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1335, allocations: 215 kB / 448.4 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1335, allocations: 116.5 kB / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1336, allocations: 3.938 kB / 448.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1337, allocations: 4 kB / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1337, allocations: 7.984 kB / 448.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1337, allocations: 4 kB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000604/0.1343, allocations: 0.6511 MB / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1343, allocations: 8 kB / 449.2 MB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1346, allocations: 27.94 kB / 449.3 MB, free: 5.051 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 (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.001301/0.1359, allocations: 1.053 MB / 450.3 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1361, allocations: 51.97 kB / 450.4 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1361, allocations: 3.938 kB / 450.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.1362, allocations: 23.98 kB / 450.4 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1366, allocations: 33.44 kB / 450.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.1399, allocations: 3.343 MB / 453.8 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2169/0.3569, allocations: 0.819 MB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.357, allocations: 17.89 kB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3571, allocations: 110.2 kB / 454.7 MB, free: 48.61 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3572, allocations: 0 / 454.7 MB, free: 48.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.3993, allocations: 5.735 MB / 460.4 MB, free: 48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.3995, allocations: 231.9 kB / 460.7 MB, free: 47.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.094, allocations: 0 / 460.7 MB, free: 47.74 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches