Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.006209/0.006208, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.00118/0.00118, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.586/1.586, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3638/0.3638, allocations: 43.5 MB / 313.5 MB, free: 8.25 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.001227/0.001227, allocations: 67.89 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003392/0.13, allocations: 2.014 MB / 441.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1316, allocations: 1.042 MB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.1317, allocations: 4 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1319, allocations: 35.78 kB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1322, allocations: 131.5 kB / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.1332, allocations: 0.5303 MB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1335, allocations: 267.1 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1337, allocations: 80.5 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1338, allocations: 115.5 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.134, allocations: 167.4 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1341, allocations: 12 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.1342, allocations: 39.98 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1343, allocations: 143.5 kB / 444.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1344, allocations: 166.6 kB / 444.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1347, allocations: 362.5 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1347, allocations: 4 kB / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.12e-07/0.1348, allocations: 0 / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1348, allocations: 0 / 445 MB, free: 9.391 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008401/0.1356, allocations: 0.7697 MB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.1356, allocations: 8.031 kB / 445.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.1357, allocations: 42.73 kB / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1358, allocations: 60.19 kB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.1362, allocations: 459.8 kB / 446.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1363, allocations: 8.359 kB / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1363, allocations: 23.84 kB / 446.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1365, allocations: 147.1 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1366, allocations: 3.984 kB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1366, allocations: 8 kB / 446.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.1366, allocations: 0 / 446.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1368, allocations: 91.88 kB / 446.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.1376, allocations: 0.6917 MB / 447.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1378, allocations: 121.2 kB / 447.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.1379, allocations: 41.83 kB / 447.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1379, allocations: 15.91 kB / 447.5 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.1379, allocations: 30.56 kB / 447.5 MB, free: 6.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1379, allocations: 0 / 447.5 MB, free: 6.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001269/0.1392, allocations: 0.5376 MB / 448 MB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1393, allocations: 85.11 kB / 448.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/0.1401, allocations: 0.8896 MB / 449 MB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1402, allocations: 25.7 kB / 449 MB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1403, allocations: 252.3 kB / 449.3 MB, free: 4.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1404, allocations: 55.42 kB / 449.3 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.1405, allocations: 33.7 kB / 449.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1406, allocations: 378.7 kB / 449.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1408, allocations: 63.94 kB / 449.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1409, allocations: 85.8 kB / 449.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.1413, allocations: 153.6 kB / 450 MB, free: 4.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1413, allocations: 0 / 450 MB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004504/0.1417, allocations: 252.9 kB / 450.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1418, allocations: 4 kB / 450.3 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.1418, allocations: 0 / 450.3 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.1418, allocations: 4 kB / 450.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.142, allocations: 39.97 kB / 450.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.142, allocations: 0 / 450.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1421, allocations: 19.89 kB / 450.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1421, allocations: 4 kB / 450.4 MB, free: 3.754 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 (16): * Single equations (assignments): 16 * 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.0001997/0.1423, allocations: 221.6 kB / 450.6 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.1424, allocations: 51.34 kB / 450.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.143, allocations: 290.1 kB / 450.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.143, allocations: 0 / 450.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.143, allocations: 3.984 kB / 450.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.143, allocations: 0 / 450.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1441, allocations: 0.814 MB / 451.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1441, allocations: 4 kB / 451.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1443, allocations: 35.91 kB / 451.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1443, allocations: 4 kB / 451.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1443, allocations: 8 kB / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1443, allocations: 7.938 kB / 451.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1443, allocations: 3.984 kB / 451.8 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1448, allocations: 409.9 kB / 452.2 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1449, allocations: 152.3 kB / 452.3 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.145, allocations: 8 kB / 452.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.1452, allocations: 19.92 kB / 452.4 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1452, allocations: 11.92 kB / 452.4 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1453, allocations: 11.98 kB / 452.4 MB, free: 1.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006512/0.1459, allocations: 0.6394 MB / 453 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1459, allocations: 0 / 453 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1462, allocations: 63.92 kB / 453.1 MB, free: 0.9141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.2134/0.3596, allocations: 1.236 MB / 454.3 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.3602, allocations: 169.4 kB / 454.5 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3602, allocations: 0 / 454.5 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3604, allocations: 86.05 kB / 454.6 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.3612, allocations: 73.42 kB / 454.6 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.3666, allocations: 5.316 MB / 460 MB, free: 47.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.367, allocations: 0.8703 MB / 460.8 MB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3672, allocations: 91.16 kB / 460.9 MB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3674, allocations: 164 kB / 461.1 MB, free: 46.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3674, allocations: 5.656 kB / 461.1 MB, free: 46.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.3861, allocations: 9.277 MB / 470.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.3863, allocations: 232.1 kB / 470.6 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.235, allocations: 0 / 470.6 MB, free: 45.32 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches