Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001591/0.001591, allocations: 104.3 kB / 19.7 MB, free: 1.945 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.00152/0.00152, allocations: 218.6 kB / 22.99 MB, free: 4.961 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.722/1.722, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.2398/0.2398, allocations: 44.27 MB / 330.4 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.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.003332/0.003332, allocations: 78.66 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1444, allocations: 61.05 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003577/0.148, allocations: 1.611 MB / 0.5177 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.1487, allocations: 319.6 kB / 0.518 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1488, allocations: 0 / 0.518 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.1494, allocations: 459.1 kB / 0.5185 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.1498, allocations: 247.4 kB / 0.5187 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1502, allocations: 111.8 kB / 0.5188 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1504, allocations: 163.6 kB / 0.519 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1505, allocations: 8.188 kB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1507, allocations: 111.7 kB / 0.5191 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.151, allocations: 243.6 kB / 0.5193 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1511, allocations: 4 kB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1512, allocations: 39.92 kB / 0.5194 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1513, allocations: 83.61 kB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.1514, allocations: 63.31 kB / 0.5195 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.1517, allocations: 266.6 kB / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1517, allocations: 0 / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1517, allocations: 0 / 0.5198 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1517, allocations: 0 / 0.5198 GB, free: 3.465 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.0008244/0.1526, allocations: 0.5699 MB / 0.5203 GB, free: 2.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1526, allocations: 16.03 kB / 0.5203 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1526, allocations: 38.69 kB / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.1527, allocations: 48.64 kB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1531, allocations: 234.8 kB / 0.5206 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1531, allocations: 4.375 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1531, allocations: 4.125 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1533, allocations: 57.66 kB / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1533, allocations: 0 / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1533, allocations: 0 / 0.5207 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1533, allocations: 4 kB / 0.5207 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.1534, allocations: 27.92 kB / 0.5207 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.154, allocations: 351.8 kB / 0.5211 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.1542, allocations: 42.56 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.1543, allocations: 16.94 kB / 0.5211 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1543, allocations: 0 / 0.5211 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1543, allocations: 34.5 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1543, allocations: 0 / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007409/0.1551, allocations: 240.6 kB / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1551, allocations: 51.41 kB / 0.5214 GB, free: 1.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/0.1561, allocations: 0.8691 MB / 0.5223 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1561, allocations: 29.64 kB / 0.5223 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.1563, allocations: 224 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1563, allocations: 15.91 kB / 0.5225 GB, free: 448 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1563, allocations: 13.72 kB / 0.5226 GB, free: 428 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1565, allocations: 362.8 kB / 0.5229 GB, free: 56 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.1566, allocations: 19.98 kB / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.1567, allocations: 23.98 kB / 0.5229 GB, free: 12 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1568, allocations: 37 kB / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1568, allocations: 4 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000241/0.1571, allocations: 125.8 kB / 0.5231 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1571, allocations: 4 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1571, allocations: 0 / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1571, allocations: 4 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.1572, allocations: 12 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1572, allocations: 7.922 kB / 0.5231 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.1573, allocations: 7.938 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1573, allocations: 3.984 kB / 0.5231 GB, free: 15.8 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.000217/0.1575, allocations: 213.8 kB / 0.5233 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.1575, allocations: 47.67 kB / 0.5234 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1578, allocations: 137.1 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1579, allocations: 0 / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1579, allocations: 7.938 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1579, allocations: 0 / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.1585, allocations: 421.5 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1585, allocations: 0 / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.1585, allocations: 15.98 kB / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1585, allocations: 3.938 kB / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1585, allocations: 0 / 0.5239 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1585, allocations: 3.938 kB / 0.524 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1585, allocations: 0 / 0.524 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1588, allocations: 219.2 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1589, allocations: 35.91 kB / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1589, allocations: 7.938 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.159, allocations: 7.984 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.159, allocations: 0 / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.159, allocations: 8 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000682/0.1597, allocations: 0.6511 MB / 0.5249 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1597, allocations: 3.938 kB / 0.5249 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.16, allocations: 20 kB / 0.5249 GB, free: 13.94 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.002194/0.1622, allocations: 1.077 MB / 0.5259 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1624, allocations: 51.95 kB / 0.526 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1624, allocations: 0 / 0.526 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.1625, allocations: 27.92 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1629, allocations: 21.97 kB / 0.526 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.167, allocations: 3.195 MB / 0.5291 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1672, allocations: 220.1 kB / 0.5294 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1673, allocations: 4 kB / 0.5294 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.1674, allocations: 111.4 kB / 0.5295 GB, free: 9.148 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1674, allocations: 3.938 kB / 0.5295 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.2045, allocations: 6.508 MB / 0.5358 GB, free: 2.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.66, allocations: 8.016 kB / 0.5358 GB, free: 2.508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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: 15.214392398949713]