Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 110 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 221.2 kB / 23 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 61.06 MB / 0.5162 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003051/0.127, allocations: 1.619 MB / 0.5177 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.1277, allocations: 343.5 kB / 0.5181 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.1277, allocations: 4 kB / 0.5181 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.1283, allocations: 451.1 kB / 0.5185 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1287, allocations: 251.5 kB / 0.5187 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.129, allocations: 111.7 kB / 0.5189 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1292, allocations: 163.6 kB / 0.519 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.1293, allocations: 12.17 kB / 0.519 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1294, allocations: 111.8 kB / 0.5191 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1297, allocations: 243.5 kB / 0.5194 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1297, allocations: 0 / 0.5194 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.1298, allocations: 31.92 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1299, allocations: 87.67 kB / 0.5195 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.13, allocations: 103 kB / 0.5196 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1303, allocations: 262.6 kB / 0.5198 GB, free: 3.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1303, allocations: 4 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1303, allocations: 0 / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1303, allocations: 0 / 0.5198 GB, free: 3.559 MB / 398.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.0007227/0.131, allocations: 0.5738 MB / 0.5204 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1311, allocations: 8.031 kB / 0.5204 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.1311, allocations: 30.75 kB / 0.5204 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.1312, allocations: 44.66 kB / 0.5205 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1314, allocations: 242.7 kB / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1314, allocations: 12.31 kB / 0.5207 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1315, allocations: 4.125 kB / 0.5207 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1316, allocations: 53.67 kB / 0.5208 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1316, allocations: 4 kB / 0.5208 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1316, allocations: 7.984 kB / 0.5208 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1316, allocations: 0 / 0.5208 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.1317, allocations: 31.95 kB / 0.5208 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1322, allocations: 355.7 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1324, allocations: 42.56 kB / 0.5212 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.1324, allocations: 16.95 kB / 0.5212 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1324, allocations: 3.984 kB / 0.5212 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1325, allocations: 30.56 kB / 0.5212 GB, free: 1.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1325, allocations: 3.938 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.133, allocations: 236.7 kB / 0.5215 GB, free: 1.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1331, allocations: 51.41 kB / 0.5215 GB, free: 1.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/0.134, allocations: 0.8651 MB / 0.5224 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.134, allocations: 29.7 kB / 0.5224 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1342, allocations: 220.1 kB / 0.5226 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1342, allocations: 11.84 kB / 0.5226 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1342, allocations: 21.7 kB / 0.5226 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1344, allocations: 366.8 kB / 0.523 GB, free: 140 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.1345, allocations: 15.98 kB / 0.523 GB, free: 124 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.1345, allocations: 15.98 kB / 0.523 GB, free: 108 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1347, allocations: 48.83 kB / 0.5231 GB, free: 56 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1347, allocations: 0 / 0.5231 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002168/0.1349, allocations: 113.8 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1349, allocations: 8 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1349, allocations: 4.062 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1349, allocations: 3.938 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.135, allocations: 15.98 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.135, allocations: 3.75 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.135, allocations: 11.94 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.135, allocations: 0 / 0.5232 GB, free: 15.89 MB / 414.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.0001969/0.1352, allocations: 209.8 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1353, allocations: 55.67 kB / 0.5235 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1356, allocations: 133.1 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1356, allocations: 0 / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1356, allocations: 3.938 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1356, allocations: 3.938 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.1361, allocations: 425.6 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1361, allocations: 8 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.1362, allocations: 11.98 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1362, allocations: 3.938 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1362, allocations: 4 kB / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1362, allocations: 0 / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1362, allocations: 0 / 0.524 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1365, allocations: 211.2 kB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1365, allocations: 47.64 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1366, allocations: 192 / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.1366, allocations: 8 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1367, allocations: 7.984 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1367, allocations: 4 kB / 0.5243 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000693/0.1374, allocations: 0.6511 MB / 0.5249 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1374, allocations: 0 / 0.5249 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1376, allocations: 24 kB / 0.525 GB, free: 14.02 MB / 414.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.001951/0.1396, allocations: 1.054 MB / 0.526 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1398, allocations: 47.97 kB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1398, allocations: 0 / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.1399, allocations: 31.92 kB / 0.5261 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1402, allocations: 25.95 kB / 0.5261 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.144, allocations: 3.191 MB / 0.5292 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.1444, allocations: 0.8182 MB / 0.53 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1445, allocations: 15.98 kB / 0.53 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1446, allocations: 99.41 kB / 0.5301 GB, free: 8.641 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1446, allocations: 3.938 kB / 0.5301 GB, free: 8.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1769, allocations: 6.148 MB / 0.5361 GB, free: 2.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.69, allocations: 3.938 kB / 0.5361 GB, free: 2.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.783180273137987]