Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001802/0.001802, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002174/0.002174, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 44.91 MB / 355.8 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001993/0.001993, allocations: 69.92 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1352, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.004595/0.1398, allocations: 1.676 MB / 0.5541 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1413, allocations: 0.5649 MB / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1413, allocations: 0 / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1417, allocations: 67.72 kB / 0.5547 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.1421, allocations: 107.6 kB / 0.5548 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1426, allocations: 135 kB / 0.555 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.1428, allocations: 91.69 kB / 0.555 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.143, allocations: 16.44 kB / 0.5551 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.1431, allocations: 43.83 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1432, allocations: 55.81 kB / 0.5552 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1432, allocations: 4 kB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.1434, allocations: 51.97 kB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.1435, allocations: 31.86 kB / 0.5552 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1436, allocations: 31.75 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1439, allocations: 127.4 kB / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1439, allocations: 4 kB / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1439, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1439, allocations: 0 / 0.5554 GB, free: 7.098 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008086/0.1447, allocations: 438.6 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1447, allocations: 12.03 kB / 0.5558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.1448, allocations: 192 / 0.5558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.1448, allocations: 34.75 kB / 0.5559 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.1449, allocations: 16.84 kB / 0.5559 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1452, allocations: 208.1 kB / 0.5561 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1452, allocations: 8.375 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.1452, allocations: 8.125 kB / 0.5561 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1455, allocations: 61.66 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1455, allocations: 0 / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1455, allocations: 7.938 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1455, allocations: 0 / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.1457, allocations: 43.91 kB / 0.5562 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.1464, allocations: 320.7 kB / 0.5565 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.1467, allocations: 46.59 kB / 0.5565 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1469, allocations: 28.95 kB / 0.5566 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1469, allocations: 3.984 kB / 0.5566 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.1469, allocations: 46.5 kB / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.147, allocations: 0 / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.002515/0.1495, allocations: 397.3 kB / 0.557 GB, free: 5.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.1495, allocations: 51.41 kB / 0.5571 GB, free: 5.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.1499, allocations: 218.1 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.15, allocations: 33.7 kB / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1501, allocations: 112.1 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.1502, allocations: 35.69 kB / 0.5574 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.1502, allocations: 25.7 kB / 0.5575 GB, free: 4.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1505, allocations: 326.8 kB / 0.5578 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1507, allocations: 43.91 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.151, allocations: 52.09 kB / 0.5579 GB, free: 4.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.1515, allocations: 100.8 kB / 0.558 GB, free: 4.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1515, allocations: 0 / 0.558 GB, free: 4.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006284/0.1521, allocations: 141.5 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1521, allocations: 4 kB / 0.5581 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1521, allocations: 4 kB / 0.5581 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.1522, allocations: 7.938 kB / 0.5581 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.1524, allocations: 35.84 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1524, allocations: 0 / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1525, allocations: 4 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1526, allocations: 7.984 kB / 0.5582 GB, free: 4.039 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 (11): * Single equations (assignments): 11 * 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.0001786/0.1527, allocations: 132 kB / 0.5583 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.1528, allocations: 19.91 kB / 0.5583 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/0.1535, allocations: 171.3 kB / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1535, allocations: 0 / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1535, allocations: 0 / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1536, allocations: 0 / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1548, allocations: 480 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1548, allocations: 0 / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.1551, allocations: 27.92 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.1551, allocations: 4 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1551, allocations: 4 kB / 0.559 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.1551, allocations: 7.922 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1551, allocations: 4 kB / 0.559 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.1558, allocations: 257.2 kB / 0.5592 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.1559, allocations: 97 kB / 0.5593 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.156, allocations: 4 kB / 0.5593 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.1562, allocations: 15.98 kB / 0.5593 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.1562, allocations: 11.98 kB / 0.5593 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1562, allocations: 4 kB / 0.5593 GB, free: 2.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.1565, allocations: 164.3 kB / 0.5595 GB, free: 2.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 0 / 0.5595 GB, free: 2.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.157, allocations: 27.98 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003888/0.1609, allocations: 1.149 MB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006137/0.1615, allocations: 107.8 kB / 0.5607 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1615, allocations: 4 kB / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.1618, allocations: 60.02 kB / 0.5608 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.1624, allocations: 16 kB / 0.5608 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.1667, allocations: 1.888 MB / 0.5627 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.1673, allocations: 0.7119 MB / 0.5634 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1674, allocations: 16.55 kB / 0.5634 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1675, allocations: 47.41 kB / 0.5634 GB, free: 14.56 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1675, allocations: 0 / 0.5634 GB, free: 14.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.1967, allocations: 3.548 MB / 0.5669 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.684, allocations: 12.05 kB / 0.5669 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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: 11.892595795972738]