Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.001695/0.001695, allocations: 107.5 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.002087/0.002087, allocations: 226.3 kB / 23.01 MB, free: 5.035 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.407/1.407, 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.2324/0.2324, allocations: 44.24 MB / 330.3 MB, free: 9.504 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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",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.002205/0.002205, allocations: 71.91 kB / 467.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1176, allocations: 61.04 MB / 0.5162 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003399/0.121, allocations: 1.591 MB / 0.5177 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.1217, allocations: 359.4 kB / 0.5181 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.1218, allocations: 0 / 0.5181 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.122, allocations: 23.84 kB / 0.5181 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1223, allocations: 47.77 kB / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1226, allocations: 83.83 kB / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1228, allocations: 63.81 kB / 0.5183 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1229, allocations: 12.17 kB / 0.5183 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.1229, allocations: 27.8 kB / 0.5183 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.123, allocations: 27.86 kB / 0.5183 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.123, allocations: 4 kB / 0.5183 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1232, allocations: 51.97 kB / 0.5184 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1232, allocations: 11.98 kB / 0.5184 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1233, allocations: 23.81 kB / 0.5184 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1235, allocations: 107.6 kB / 0.5185 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1235, allocations: 0 / 0.5185 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1235, allocations: 0 / 0.5185 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1235, allocations: 0 / 0.5185 GB, free: 4.875 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005153/0.124, allocations: 298 kB / 0.5188 GB, free: 4.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1241, allocations: 8.031 kB / 0.5188 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.1241, allocations: 34.73 kB / 0.5188 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1241, allocations: 12.89 kB / 0.5189 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1243, allocations: 134.4 kB / 0.519 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1243, allocations: 12.31 kB / 0.519 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1244, allocations: 4.125 kB / 0.519 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1246, allocations: 71.33 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1246, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1246, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1246, allocations: 0 / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1247, allocations: 35.97 kB / 0.5191 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1251, allocations: 259.9 kB / 0.5194 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1253, allocations: 38.5 kB / 0.5194 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.1253, allocations: 16.86 kB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1253, allocations: 96 / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1254, allocations: 46.48 kB / 0.5195 GB, free: 3.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1254, allocations: 0 / 0.5195 GB, free: 3.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000607/0.126, allocations: 153.7 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.126, allocations: 77.11 kB / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1262, allocations: 133.8 kB / 0.5198 GB, free: 3.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1262, allocations: 25.7 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1263, allocations: 100 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.1263, allocations: 7.906 kB / 0.5199 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.1263, allocations: 29.7 kB / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1266, allocations: 318.8 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.1266, allocations: 23.97 kB / 0.5203 GB, free: 2.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.1267, allocations: 41.77 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1268, allocations: 52.83 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1268, allocations: 7.969 kB / 0.5204 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002059/0.1271, allocations: 93.59 kB / 0.5205 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1271, allocations: 8 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1271, allocations: 0 / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1271, allocations: 0 / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1272, allocations: 15.98 kB / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1272, allocations: 0 / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1272, allocations: 7.938 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1273, allocations: 3.984 kB / 0.5205 GB, free: 2.633 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 (6): * Single equations (assignments): 6 * 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 9.611e-05/0.1274, allocations: 117.8 kB / 0.5206 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1274, allocations: 7.953 kB / 0.5206 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.1276, allocations: 106 kB / 0.5207 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1276, allocations: 7.938 kB / 0.5207 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1276, allocations: 0 / 0.5207 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1276, allocations: 3.938 kB / 0.5207 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.1281, allocations: 341.8 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1281, allocations: 64 / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.1282, allocations: 15.98 kB / 0.5211 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1282, allocations: 4 kB / 0.5211 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1282, allocations: 3.938 kB / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1282, allocations: 0 / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1282, allocations: 0 / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1285, allocations: 191.5 kB / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.1285, allocations: 0 / 0.5213 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1285, allocations: 7.922 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1286, allocations: 7.938 kB / 0.5213 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.1287, allocations: 11.98 kB / 0.5213 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1287, allocations: 0 / 0.5213 GB, free: 1.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.1287, allocations: 103.3 kB / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1287, allocations: 3.938 kB / 0.5214 GB, free: 1.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.129, allocations: 31.92 kB / 0.5214 GB, free: 1.602 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 (6): * Single equations (assignments): 6 * 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.002218/0.1313, allocations: 1.059 MB / 0.5225 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1315, allocations: 59.84 kB / 0.5225 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1315, allocations: 4 kB / 0.5225 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1316, allocations: 27.97 kB / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1319, allocations: 23.2 kB / 0.5226 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1336, allocations: 1.424 MB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.134, allocations: 0.6885 MB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.134, allocations: 20.36 kB / 0.5247 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.1341, allocations: 23.42 kB / 0.5247 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1341, allocations: 4 kB / 0.5247 GB, free: 14.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.1652, allocations: 3.047 MB / 0.5277 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11, allocations: 4.062 kB / 0.5277 GB, free: 11.02 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.201590619981289]