Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.001688/0.001688, allocations: 111.7 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.001819/0.001819, allocations: 222.8 kB / 23.01 MB, free: 5.062 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.473/1.473, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2488/0.2488, allocations: 44.23 MB / 330.3 MB, free: 9.531 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.002376/0.002376, allocations: 74.56 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.12, allocations: 61.05 MB / 0.5162 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003144/0.1231, allocations: 1.568 MB / 0.5177 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1248, allocations: 1.056 MB / 0.5187 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1248, allocations: 0 / 0.5187 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1251, allocations: 23.86 kB / 0.5187 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1253, allocations: 43.78 kB / 0.5188 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1255, allocations: 91.8 kB / 0.5189 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1257, allocations: 59.84 kB / 0.5189 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1258, allocations: 15.97 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.1258, allocations: 23.88 kB / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.126, allocations: 27.89 kB / 0.519 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.126, allocations: 4 kB / 0.519 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1261, allocations: 43.98 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.1261, allocations: 15.92 kB / 0.5191 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1262, allocations: 23.86 kB / 0.5191 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1264, allocations: 91.59 kB / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1264, allocations: 0 / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1264, allocations: 0 / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1264, allocations: 4 kB / 0.5192 GB, free: 4.219 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.0004716/0.1269, allocations: 301.9 kB / 0.5195 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1269, allocations: 12.03 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1269, allocations: 34.73 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.127, allocations: 12.89 kB / 0.5195 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1272, allocations: 122.5 kB / 0.5196 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1272, allocations: 4.375 kB / 0.5196 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1272, allocations: 4.375 kB / 0.5196 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1274, allocations: 71.27 kB / 0.5197 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1274, allocations: 4 kB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1274, allocations: 0 / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1274, allocations: 0 / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.1275, allocations: 23.98 kB / 0.5197 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1279, allocations: 247.9 kB / 0.52 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1281, allocations: 50.48 kB / 0.52 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1281, allocations: 16.86 kB / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1282, allocations: 0 / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.1282, allocations: 34.56 kB / 0.5201 GB, free: 3.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1282, allocations: 0 / 0.5201 GB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.1288, allocations: 149.5 kB / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.1288, allocations: 81.11 kB / 0.5203 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.129, allocations: 129.8 kB / 0.5204 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.129, allocations: 25.7 kB / 0.5204 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.129, allocations: 92.12 kB / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1291, allocations: 23.73 kB / 0.5205 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1291, allocations: 25.66 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1292, allocations: 322.8 kB / 0.5209 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.1293, allocations: 19.98 kB / 0.5209 GB, free: 2.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.1294, allocations: 37.7 kB / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1295, allocations: 52.77 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1295, allocations: 0 / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001967/0.1297, allocations: 89.64 kB / 0.5211 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1297, allocations: 4 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1297, allocations: 0 / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1298, allocations: 256 / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.1298, allocations: 15.98 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1298, allocations: 4 kB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.1299, allocations: 8 kB / 0.5211 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1299, allocations: 7.922 kB / 0.5211 GB, free: 2.02 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 9.606e-05/0.13, allocations: 125.8 kB / 0.5212 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.13, allocations: 7.953 kB / 0.5212 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.1302, allocations: 89.72 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1302, allocations: 0 / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1302, allocations: 4.281 kB / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1302, allocations: 0 / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1307, allocations: 325.5 kB / 0.5216 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1307, allocations: 8 kB / 0.5216 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.1307, allocations: 15.97 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1307, allocations: 0 / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1307, allocations: 0 / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1307, allocations: 3.938 kB / 0.5217 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1307, allocations: 4 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.131, allocations: 179.4 kB / 0.5218 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.131, allocations: 12 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.131, allocations: 0 / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.1311, allocations: 11.92 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1311, allocations: 192 / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1311, allocations: 8 kB / 0.5219 GB, free: 1.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.1312, allocations: 103.2 kB / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 0.522 GB, free: 1.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1314, allocations: 27.88 kB / 0.522 GB, free: 1.027 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.001988/0.1334, allocations: 1.04 MB / 0.523 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1336, allocations: 59.97 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1336, allocations: 0 / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.1337, allocations: 23.98 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1341, allocations: 31.14 kB / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1357, allocations: 1.405 MB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.136, allocations: 0.6963 MB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.435e-05/0.1361, allocations: 16.06 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.1361, allocations: 19.42 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1361, allocations: 0 / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.1655, allocations: 2.938 MB / 0.5281 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.88, allocations: 0 / 0.5281 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.032039508922026]