Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001545/0.001545, allocations: 100.3 kB / 19.69 MB, free: 2.094 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.001639/0.001639, allocations: 206.1 kB / 22.99 MB, free: 4.922 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.46/1.46, allocations: 207.7 MB / 233.8 MB, free: 9.812 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.2775/0.2775, allocations: 44.27 MB / 330.3 MB, free: 9.316 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002345/0.002345, allocations: 71.91 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1396, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.005638/0.1453, allocations: 1.611 MB / 0.5177 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1466, allocations: 347.5 kB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1466, allocations: 0 / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.1477, allocations: 455.1 kB / 0.5185 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.1483, allocations: 247.5 kB / 0.5187 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.1491, allocations: 159.6 kB / 0.5189 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.1495, allocations: 167.7 kB / 0.5191 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1496, allocations: 16.16 kB / 0.5191 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1498, allocations: 111.7 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1503, allocations: 239.5 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.1503, allocations: 4 kB / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1505, allocations: 35.92 kB / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1507, allocations: 87.69 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1508, allocations: 71.23 kB / 0.5196 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.1513, allocations: 262.6 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1513, allocations: 0 / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1513, allocations: 0 / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1513, allocations: 0 / 0.5198 GB, free: 3.379 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.001181/0.1525, allocations: 0.5815 MB / 0.5204 GB, free: 2.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.1526, allocations: 8.031 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.1526, allocations: 34.75 kB / 0.5205 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1528, allocations: 48.55 kB / 0.5205 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1533, allocations: 246.8 kB / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1533, allocations: 384 / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1533, allocations: 8.125 kB / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1535, allocations: 61.66 kB / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1536, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1536, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1536, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1538, allocations: 27.98 kB / 0.5208 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.1546, allocations: 363.7 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.1549, allocations: 46.56 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.155, allocations: 20.94 kB / 0.5212 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1551, allocations: 0 / 0.5212 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.1551, allocations: 34.5 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.1551, allocations: 0 / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001125/0.1562, allocations: 244.8 kB / 0.5215 GB, free: 1.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1563, allocations: 55.34 kB / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.1579, allocations: 0.873 MB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.158, allocations: 29.64 kB / 0.5224 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.1583, allocations: 220.1 kB / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1583, allocations: 23.78 kB / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.1584, allocations: 17.72 kB / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003824/0.1588, allocations: 362.8 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1589, allocations: 19.98 kB / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.159, allocations: 23.92 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.1593, allocations: 56.83 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1593, allocations: 0 / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004402/0.1597, allocations: 121.4 kB / 0.5232 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1598, allocations: 7.938 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1598, allocations: 4 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1598, allocations: 0 / 0.5233 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1599, allocations: 8.25 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.1599, allocations: 7.922 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.16, allocations: 12 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1601, allocations: 8 kB / 0.5233 GB, free: 15.64 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.0003676/0.1604, allocations: 213.8 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1605, allocations: 39.72 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.1611, allocations: 141.2 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1611, allocations: 3.938 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1611, allocations: 3.938 kB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1611, allocations: 0 / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.1621, allocations: 433.6 kB / 0.5241 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1621, allocations: 0 / 0.5241 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1623, allocations: 11.98 kB / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.1623, allocations: 3.938 kB / 0.5241 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1623, allocations: 4 kB / 0.5241 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1623, allocations: 0 / 0.5241 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.1623, allocations: 3.984 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.1628, allocations: 227.1 kB / 0.5243 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.1629, allocations: 35.7 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.163, allocations: 11.94 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1631, allocations: 4 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.1632, allocations: 7.984 kB / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1632, allocations: 192 / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00126/0.1645, allocations: 0.6511 MB / 0.525 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1645, allocations: 0 / 0.525 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.1649, allocations: 23.98 kB / 0.525 GB, free: 13.77 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.003414/0.1684, allocations: 1.09 MB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.1687, allocations: 47.95 kB / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1687, allocations: 0 / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1689, allocations: 31.92 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.1696, allocations: 30.23 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.1756, allocations: 3.254 MB / 0.5294 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.176, allocations: 220.1 kB / 0.5296 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.242e-05/0.1761, allocations: 11.98 kB / 0.5296 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.1763, allocations: 107.4 kB / 0.5297 GB, free: 8.891 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1763, allocations: 3.938 kB / 0.5297 GB, free: 8.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/0.2167, allocations: 6.578 MB / 0.5361 GB, free: 2.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.64, allocations: 3.953 kB / 0.5361 GB, free: 2.188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.956676494795829]