Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.002056/0.002056, allocations: 113.6 kB / 19.69 MB, free: 2.207 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.00179/0.00179, allocations: 216.6 kB / 23 MB, free: 5.051 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.466/1.466, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.226/0.226, allocations: 44.23 MB / 330.3 MB, free: 9.512 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",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.00219/0.00219, allocations: 70.56 kB / 467.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1284, allocations: 61.05 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.004152/0.1326, allocations: 1.58 MB / 0.5177 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1345, allocations: 1.037 MB / 0.5187 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1345, allocations: 0 / 0.5187 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1348, allocations: 23.86 kB / 0.5187 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.135, allocations: 39.83 kB / 0.5188 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1352, allocations: 79.78 kB / 0.5188 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1354, allocations: 55.89 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1355, allocations: 19.86 kB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.1356, allocations: 19.92 kB / 0.5189 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1357, allocations: 31.84 kB / 0.519 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1357, allocations: 4 kB / 0.519 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.1358, allocations: 43.98 kB / 0.519 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1359, allocations: 11.98 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.1359, allocations: 23.86 kB / 0.519 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1361, allocations: 91.53 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1361, allocations: 7.938 kB / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1361, allocations: 0 / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1361, allocations: 0 / 0.5191 GB, free: 4.23 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.0004677/0.1366, allocations: 302 kB / 0.5194 GB, free: 3.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1366, allocations: 8.031 kB / 0.5194 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1367, allocations: 34.75 kB / 0.5195 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1367, allocations: 4.891 kB / 0.5195 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1369, allocations: 126.5 kB / 0.5196 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1369, allocations: 4.375 kB / 0.5196 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1369, allocations: 4.375 kB / 0.5196 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1371, allocations: 71.27 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1371, allocations: 0 / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1371, allocations: 0 / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1371, allocations: 4 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.1372, allocations: 19.98 kB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1376, allocations: 247.9 kB / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1378, allocations: 42.5 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1379, allocations: 20.94 kB / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1379, allocations: 0 / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1379, allocations: 30.56 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1379, allocations: 0 / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005768/0.1385, allocations: 141.7 kB / 0.5202 GB, free: 3.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1385, allocations: 81.05 kB / 0.5202 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1387, allocations: 129.8 kB / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1387, allocations: 33.7 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1388, allocations: 84.14 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1388, allocations: 27.78 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1388, allocations: 17.72 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.139, allocations: 322.8 kB / 0.5208 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.139, allocations: 19.98 kB / 0.5208 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.1391, allocations: 29.7 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1392, allocations: 52.95 kB / 0.5209 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1392, allocations: 4.031 kB / 0.5209 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.1394, allocations: 81.62 kB / 0.521 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1394, allocations: 4 kB / 0.521 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1394, allocations: 0 / 0.521 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1394, allocations: 0 / 0.521 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.1395, allocations: 19.97 kB / 0.521 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1395, allocations: 0 / 0.521 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.1395, allocations: 4 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1395, allocations: 7.938 kB / 0.521 GB, free: 2.078 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.0001008/0.1396, allocations: 121.7 kB / 0.5212 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1397, allocations: 7.953 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.1399, allocations: 81.72 kB / 0.5212 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1399, allocations: 3.984 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1399, allocations: 4 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1399, allocations: 0 / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1403, allocations: 321.5 kB / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1403, allocations: 0 / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1404, allocations: 15.98 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1404, allocations: 0 / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1404, allocations: 0 / 0.5216 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1404, allocations: 3.938 kB / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1404, allocations: 192 / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1406, allocations: 179.5 kB / 0.5217 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.1406, allocations: 7.984 kB / 0.5217 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1406, allocations: 0 / 0.5217 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.1407, allocations: 15.88 kB / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1407, allocations: 7.922 kB / 0.5218 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1408, allocations: 4 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.1408, allocations: 103.3 kB / 0.5219 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1408, allocations: 0 / 0.5219 GB, free: 1.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1411, allocations: 27.94 kB / 0.5219 GB, free: 1.105 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.001983/0.1431, allocations: 1.028 MB / 0.5229 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1433, allocations: 47.91 kB / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1433, allocations: 0 / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.1434, allocations: 23.98 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1437, allocations: 35.28 kB / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1453, allocations: 1.381 MB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1456, allocations: 0.6884 MB / 0.525 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.112e-05/0.1457, allocations: 11.98 kB / 0.525 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1457, allocations: 23.42 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1457, allocations: 0 / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.1773, allocations: 2.902 MB / 0.5279 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.27, allocations: 8 kB / 0.5279 GB, free: 10.76 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.483551165089011]