Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001401/0.001401, allocations: 110.2 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.001569/0.001569, allocations: 224.5 kB / 23.01 MB, free: 5.039 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.51/1.51, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2318/0.2318, allocations: 44.23 MB / 330.3 MB, free: 9.613 MB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",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.002523/0.002523, allocations: 79.89 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1303, allocations: 61.05 MB / 0.5162 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003514/0.1338, allocations: 1.569 MB / 0.5177 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.1346, allocations: 331.4 kB / 0.518 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.1347, allocations: 0 / 0.518 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.135, allocations: 35.84 kB / 0.518 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1352, allocations: 35.78 kB / 0.5181 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1354, allocations: 67.84 kB / 0.5181 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1356, allocations: 51.84 kB / 0.5182 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1357, allocations: 15.97 kB / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.1358, allocations: 23.86 kB / 0.5182 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.1359, allocations: 19.92 kB / 0.5182 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1359, allocations: 4 kB / 0.5183 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.136, allocations: 35.92 kB / 0.5183 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.136, allocations: 23.92 kB / 0.5183 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1361, allocations: 27.8 kB / 0.5183 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1362, allocations: 67.73 kB / 0.5184 GB, free: 5.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1363, allocations: 4 kB / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1363, allocations: 0 / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1363, allocations: 3.938 kB / 0.5184 GB, free: 5.031 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000553/0.1368, allocations: 305.9 kB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1369, allocations: 12.03 kB / 0.5187 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1369, allocations: 34.75 kB / 0.5187 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1369, allocations: 8.891 kB / 0.5188 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1371, allocations: 138.3 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1371, allocations: 4.375 kB / 0.5189 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1372, allocations: 4.375 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1373, allocations: 45.62 kB / 0.5189 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1373, allocations: 0 / 0.5189 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1373, allocations: 4 kB / 0.5189 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1373, allocations: 3.938 kB / 0.5189 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1375, allocations: 23.98 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1378, allocations: 259.8 kB / 0.5192 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.1381, allocations: 42.56 kB / 0.5193 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1381, allocations: 16.92 kB / 0.5193 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1381, allocations: 4 kB / 0.5193 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1382, allocations: 34.56 kB / 0.5193 GB, free: 3.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1382, allocations: 0 / 0.5193 GB, free: 3.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000565/0.1387, allocations: 133.4 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1388, allocations: 59.41 kB / 0.5195 GB, free: 3.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.139, allocations: 165.2 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.139, allocations: 29.7 kB / 0.5197 GB, free: 3.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1391, allocations: 96.12 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1391, allocations: 19.8 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.1392, allocations: 21.66 kB / 0.5198 GB, free: 3.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1393, allocations: 326.8 kB / 0.5201 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1394, allocations: 19.92 kB / 0.5201 GB, free: 3.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.1395, allocations: 15.98 kB / 0.5202 GB, free: 3.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1396, allocations: 48.83 kB / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1396, allocations: 0 / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1398, allocations: 81.62 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.1399, allocations: 4 kB / 0.5203 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1399, allocations: 0 / 0.5203 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1399, allocations: 0 / 0.5203 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.14, allocations: 15.98 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.14, allocations: 3.938 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.14, allocations: 8 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.14, allocations: 3.938 kB / 0.5203 GB, free: 2.887 MB / 398.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.0001067/0.1401, allocations: 121.8 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1402, allocations: 7.953 kB / 0.5204 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1404, allocations: 90.31 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1404, allocations: 0 / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1404, allocations: 4.062 kB / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1404, allocations: 4 kB / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.141, allocations: 313.5 kB / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.141, allocations: 0 / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.141, allocations: 15.98 kB / 0.5208 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.141, allocations: 0 / 0.5208 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.141, allocations: 4 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.141, allocations: 3.938 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.141, allocations: 0 / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1413, allocations: 187.4 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1413, allocations: 11.89 kB / 0.521 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1413, allocations: 0 / 0.521 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.1414, allocations: 7.938 kB / 0.5211 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1414, allocations: 3.984 kB / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1414, allocations: 4 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1415, allocations: 131.2 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1415, allocations: 0 / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1418, allocations: 12 kB / 0.5212 GB, free: 1.898 MB / 398.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.001965/0.1437, allocations: 1.019 MB / 0.5222 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1439, allocations: 43.91 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1439, allocations: 3.938 kB / 0.5222 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.144, allocations: 23.98 kB / 0.5223 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1444, allocations: 15.92 kB / 0.5223 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1464, allocations: 1.453 MB / 0.5237 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1468, allocations: 0.7002 MB / 0.5244 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1468, allocations: 8.312 kB / 0.5244 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.1469, allocations: 23.42 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1469, allocations: 3.938 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.1778, allocations: 2.727 MB / 0.5271 GB, free: 11.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.26, allocations: 4 kB / 0.5271 GB, free: 11.7 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.548812453169376]