Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001311/0.001311, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.001417/0.001417, allocations: 219 kB / 21.46 MB, free: 1.586 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.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.238/0.238, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.00193/0.00193, allocations: 69.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003341/0.1451, allocations: 1.685 MB / 0.5541 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1463, allocations: 0.5571 MB / 0.5547 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1463, allocations: 0 / 0.5547 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1466, allocations: 51.75 kB / 0.5547 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.1469, allocations: 91.55 kB / 0.5548 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1472, allocations: 130.7 kB / 0.5549 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1474, allocations: 87.75 kB / 0.555 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1475, allocations: 16.44 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.1476, allocations: 39.84 kB / 0.5551 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1477, allocations: 39.83 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1477, allocations: 11.94 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1478, allocations: 51.98 kB / 0.5552 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.1479, allocations: 19.92 kB / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.148, allocations: 35.78 kB / 0.5552 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1482, allocations: 115.4 kB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1482, allocations: 4 kB / 0.5553 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1482, allocations: 0 / 0.5553 GB, free: 7.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1482, allocations: 0 / 0.5553 GB, free: 7.176 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.000644/0.1488, allocations: 422.7 kB / 0.5557 GB, free: 6.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1489, allocations: 12.03 kB / 0.5557 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.112e-05/0.1489, allocations: 192 / 0.5557 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1489, allocations: 42.75 kB / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.149, allocations: 8.891 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1492, allocations: 200.1 kB / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1492, allocations: 384 / 0.556 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1492, allocations: 12.08 kB / 0.556 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1494, allocations: 65.66 kB / 0.5561 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1495, allocations: 11.92 kB / 0.5561 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1495, allocations: 4 kB / 0.5561 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1495, allocations: 0 / 0.5561 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1496, allocations: 39.91 kB / 0.5561 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1501, allocations: 304.8 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1504, allocations: 62.58 kB / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.92e-05/0.1504, allocations: 24.97 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1505, allocations: 0 / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1505, allocations: 30.56 kB / 0.5565 GB, free: 5.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1505, allocations: 3.938 kB / 0.5565 GB, free: 5.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.152, allocations: 397 kB / 0.5569 GB, free: 5.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1521, allocations: 51.41 kB / 0.5569 GB, free: 5.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1523, allocations: 184.4 kB / 0.5571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1523, allocations: 33.7 kB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1524, allocations: 104.1 kB / 0.5572 GB, free: 4.992 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1524, allocations: 31.7 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.1524, allocations: 25.7 kB / 0.5573 GB, free: 4.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1526, allocations: 330.8 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1527, allocations: 43.91 kB / 0.5577 GB, free: 4.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1529, allocations: 43.97 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1531, allocations: 100.7 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1531, allocations: 4.562 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003321/0.1535, allocations: 141.5 kB / 0.5579 GB, free: 4.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1535, allocations: 4 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1535, allocations: 0 / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1535, allocations: 3.938 kB / 0.5579 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1536, allocations: 35.91 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1536, allocations: 7.984 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.1537, allocations: 11.98 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1537, allocations: 4 kB / 0.558 GB, free: 4.195 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.0001195/0.1538, allocations: 122.7 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1539, allocations: 11.91 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1543, allocations: 174.5 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1543, allocations: 8 kB / 0.5583 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1543, allocations: 0 / 0.5583 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1543, allocations: 3.984 kB / 0.5583 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.155, allocations: 468 kB / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.155, allocations: 0 / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1551, allocations: 35.97 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1551, allocations: 0 / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1552, allocations: 8 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1552, allocations: 0 / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1552, allocations: 0 / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.1556, allocations: 261 kB / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.1556, allocations: 89.06 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1556, allocations: 3.984 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1557, allocations: 12 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1558, allocations: 7.984 kB / 0.5592 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1558, allocations: 4 kB / 0.5592 GB, free: 2.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1559, allocations: 143.2 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1559, allocations: 4 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1562, allocations: 27.94 kB / 0.5593 GB, free: 2.723 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.002333/0.1585, allocations: 1.139 MB / 0.5604 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.1589, allocations: 107.9 kB / 0.5605 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1589, allocations: 7.938 kB / 0.5605 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.159, allocations: 59.84 kB / 0.5606 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1594, allocations: 20.67 kB / 0.5606 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.162, allocations: 1.785 MB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1624, allocations: 0.7158 MB / 0.5631 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.1625, allocations: 20.55 kB / 0.5631 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.1625, allocations: 35.42 kB / 0.5631 GB, free: 14.88 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1625, allocations: 4 kB / 0.5631 GB, free: 14.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1809, allocations: 3.384 MB / 0.5664 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.531, allocations: 10.86 kB / 0.5664 GB, free: 11.54 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.917076682962943]