Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",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.005571/0.005571, 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.001118/0.001118, 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3623/0.3623, allocations: 43.49 MB / 313.5 MB, free: 8.586 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.00125/0.00125, allocations: 67.91 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003156/0.1303, allocations: 1.679 MB / 441.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1316, allocations: 0.9337 MB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.1317, allocations: 4 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1318, allocations: 19.92 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.1319, allocations: 35.89 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1322, allocations: 143.7 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.1323, allocations: 63.83 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.1324, allocations: 32.17 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.1324, allocations: 23.86 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1326, allocations: 31.84 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1326, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1327, allocations: 47.92 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1328, allocations: 19.97 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.1328, allocations: 27.8 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.133, allocations: 95.75 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.133, allocations: 4 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.133, allocations: 3.938 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.133, allocations: 0 / 443.1 MB, free: 11.56 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.0005546/0.1336, allocations: 399.2 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1337, allocations: 12.03 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1337, allocations: 30.75 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1338, allocations: 8.844 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.134, allocations: 204 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.134, allocations: 384 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.134, allocations: 4.375 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1342, allocations: 71.33 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1342, allocations: 7.984 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1343, allocations: 8 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1343, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1344, allocations: 35.97 kB / 443.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1349, allocations: 308.7 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.135, allocations: 50.55 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.1351, allocations: 28.94 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1351, allocations: 4 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1351, allocations: 30.56 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1351, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007327/0.1359, allocations: 225.1 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1359, allocations: 81.11 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1361, allocations: 137.8 kB / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1361, allocations: 25.7 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.1361, allocations: 104 kB / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1362, allocations: 27.59 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1362, allocations: 25.7 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1363, allocations: 322.8 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1364, allocations: 35.97 kB / 445.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1366, allocations: 53.75 kB / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1368, allocations: 88.83 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1368, allocations: 0 / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/0.1371, allocations: 121.5 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1371, allocations: 11.59 kB / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1371, allocations: 0 / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1371, allocations: 0 / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1372, allocations: 27.92 kB / 445.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1372, allocations: 3.938 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1373, allocations: 7.984 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1373, allocations: 4 kB / 445.5 MB, free: 8.855 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.986e-05/0.1374, allocations: 121.8 kB / 445.6 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1375, allocations: 7.906 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.1378, allocations: 142.5 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1378, allocations: 3.984 kB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1378, allocations: 3.938 kB / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1378, allocations: 4 kB / 445.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.1383, allocations: 402.6 kB / 446.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1383, allocations: 4 kB / 446.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.1384, allocations: 20.27 kB / 446.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1384, allocations: 3.938 kB / 446.2 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1385, allocations: 3.984 kB / 446.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.1385, allocations: 7.938 kB / 446.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1385, allocations: 0 / 446.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1388, allocations: 227.4 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1388, allocations: 81.02 kB / 446.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1389, allocations: 11.94 kB / 446.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.1389, allocations: 7.984 kB / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.139, allocations: 11.98 kB / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.139, allocations: 0 / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.956e-05/0.1391, allocations: 111.3 kB / 446.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1391, allocations: 3.938 kB / 446.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1393, allocations: 31.98 kB / 446.7 MB, free: 7.562 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.001433/0.1408, allocations: 1.094 MB / 447.8 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1411, allocations: 83.94 kB / 447.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1411, allocations: 0 / 447.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1412, allocations: 55.89 kB / 447.9 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1416, allocations: 12 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1434, allocations: 1.619 MB / 449.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1437, allocations: 0.7004 MB / 450.3 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.1437, allocations: 24.62 kB / 450.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.1438, allocations: 35.36 kB / 450.3 MB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1438, allocations: 0 / 450.3 MB, free: 3.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.1612, allocations: 2.847 MB / 453.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.1615, allocations: 237.8 kB / 453.4 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.87, allocations: 3.938 kB / 453.4 MB, free: 0.707 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches