Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10",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.000969/0.000969, allocations: 97.72 kB / 16.02 MB, free: 84 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.001252/0.001253, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.534/1.534, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.3309/0.3309, allocations: 43.57 MB / 315 MB, free: 8.652 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.0006856/0.0006858, allocations: 12 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.129, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002128/0.1312, allocations: 1.337 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1328, allocations: 0.9026 MB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1329, allocations: 0 / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1331, allocations: 15.92 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1334, allocations: 39.84 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.1337, allocations: 115.7 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1339, allocations: 51.84 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.134, allocations: 12.45 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.626e-05/0.1341, allocations: 19.92 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1343, allocations: 35.78 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1343, allocations: 0 / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1345, allocations: 51.97 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1345, allocations: 7.938 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.1346, allocations: 57.55 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1349, allocations: 95.64 kB / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1349, allocations: 0 / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1349, allocations: 4 kB / 446.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1349, allocations: 0 / 446.3 MB, free: 9.824 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.0005818/0.1355, allocations: 391.2 kB / 446.7 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1355, allocations: 8.031 kB / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.1356, allocations: 38.69 kB / 446.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1356, allocations: 8.938 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1358, allocations: 192.1 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1359, allocations: 4.375 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1359, allocations: 8.125 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1361, allocations: 71.39 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1361, allocations: 0 / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1361, allocations: 4 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1361, allocations: 0 / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1363, allocations: 47.91 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.1367, allocations: 288.8 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1368, allocations: 46.55 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.1369, allocations: 28.94 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.137, allocations: 3.938 kB / 447.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.137, allocations: 38.5 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.137, allocations: 0 / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007933/0.1378, allocations: 241.3 kB / 447.7 MB, free: 8.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1379, allocations: 81.11 kB / 447.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.138, allocations: 145.8 kB / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1381, allocations: 33.7 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1381, allocations: 88.05 kB / 448 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1382, allocations: 27.64 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1382, allocations: 17.72 kB / 448.1 MB, free: 7.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1383, allocations: 314.8 kB / 448.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1385, allocations: 47.97 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1386, allocations: 49.69 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1388, allocations: 93.06 kB / 448.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1388, allocations: 3.938 kB / 448.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002902/0.1391, allocations: 137.5 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1392, allocations: 4 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1392, allocations: 4 kB / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1392, allocations: 0 / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1393, allocations: 23.98 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1393, allocations: 3.938 kB / 448.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.1394, allocations: 15.98 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1394, allocations: 0 / 448.7 MB, free: 7.113 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 (7): * Single equations (assignments): 7 * 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.431e-05/0.1395, allocations: 117.8 kB / 448.9 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1396, allocations: 15.89 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.1399, allocations: 138.3 kB / 449 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1399, allocations: 4 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1399, allocations: 4.219 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1399, allocations: 0 / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.1405, allocations: 402.5 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1405, allocations: 0 / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.1406, allocations: 27.91 kB / 449.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1406, allocations: 7.938 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1406, allocations: 8 kB / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1406, allocations: 3.984 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1406, allocations: 3.938 kB / 449.5 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.141, allocations: 223.4 kB / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.141, allocations: 85.02 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1411, allocations: 7.922 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.1412, allocations: 16 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1412, allocations: 7.984 kB / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1412, allocations: 0 / 449.8 MB, free: 5.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.1413, allocations: 107.2 kB / 449.9 MB, free: 5.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.1414, allocations: 0 / 449.9 MB, free: 5.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1416, allocations: 35.94 kB / 449.9 MB, free: 5.82 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 (7): * Single equations (assignments): 7 * 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.00148/0.1431, allocations: 1.083 MB / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.1434, allocations: 107.8 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1435, allocations: 0 / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1436, allocations: 55.91 kB / 451.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1439, allocations: 15.98 kB / 451.2 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1459, allocations: 1.593 MB / 452.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1462, allocations: 0.6965 MB / 453.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.1462, allocations: 17.12 kB / 453.5 MB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1463, allocations: 23.42 kB / 453.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1463, allocations: 0 / 453.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.197/0.3434, allocations: 2.559 MB / 456.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001261/0.3435, allocations: 227.9 kB / 456.3 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.256, allocations: 7.531 kB / 456.3 MB, free: 45.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches