Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001315/0.001315, 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.00153/0.00153, allocations: 215.1 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.494/1.494, 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.2213/0.2213, 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.001926/0.001926, allocations: 67.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003067/0.1269, allocations: 1.658 MB / 0.5541 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1289, allocations: 1.183 MB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.129, allocations: 4 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1291, allocations: 27.78 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1294, allocations: 87.61 kB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1297, allocations: 127.6 kB / 0.5555 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1299, allocations: 75.75 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.13, allocations: 16.22 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.13, allocations: 31.86 kB / 0.5556 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1302, allocations: 39.83 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1302, allocations: 8 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.1304, allocations: 103.9 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.1304, allocations: 15.92 kB / 0.5558 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1305, allocations: 31.8 kB / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1307, allocations: 155.4 kB / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1307, allocations: 0 / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1307, allocations: 0 / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1307, allocations: 0 / 0.5559 GB, free: 6.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005875/0.1313, allocations: 422.7 kB / 0.5563 GB, free: 6.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1313, allocations: 12.03 kB / 0.5563 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.235e-05/0.1314, allocations: 4.188 kB / 0.5563 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1314, allocations: 34.73 kB / 0.5564 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1314, allocations: 12.83 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1317, allocations: 198.5 kB / 0.5566 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1317, allocations: 4.312 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1317, allocations: 16.08 kB / 0.5566 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1319, allocations: 71.39 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1319, allocations: 3.984 kB / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1319, allocations: 0 / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1319, allocations: 7.938 kB / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.132, allocations: 35.95 kB / 0.5567 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.1324, allocations: 300.7 kB / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1326, allocations: 42.55 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1327, allocations: 20.94 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1327, allocations: 4.062 kB / 0.5571 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1327, allocations: 34.56 kB / 0.5571 GB, free: 5.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1327, allocations: 4 kB / 0.5571 GB, free: 5.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008057/0.1335, allocations: 209.3 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1336, allocations: 77.11 kB / 0.5574 GB, free: 4.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1338, allocations: 159.8 kB / 0.5575 GB, free: 4.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1338, allocations: 29.7 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1338, allocations: 96.12 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1339, allocations: 23.75 kB / 0.5577 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1339, allocations: 25.7 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1341, allocations: 314.8 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1342, allocations: 35.91 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1343, allocations: 49.69 kB / 0.5581 GB, free: 4.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1345, allocations: 76.78 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1345, allocations: 0 / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.1348, allocations: 117.6 kB / 0.5583 GB, free: 3.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1349, allocations: 4 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1349, allocations: 0 / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1349, allocations: 0 / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.135, allocations: 23.92 kB / 0.5583 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.135, allocations: 3.938 kB / 0.5583 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.1351, allocations: 11.98 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1351, allocations: 0 / 0.5583 GB, free: 3.855 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 (7): * Single equations (assignments): 7 * 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.642e-05/0.1352, allocations: 120 kB / 0.5584 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1352, allocations: 15.94 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.1356, allocations: 122.6 kB / 0.5586 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1356, allocations: 0 / 0.5586 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1356, allocations: 3.938 kB / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1356, allocations: 0 / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.1362, allocations: 410.4 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1362, allocations: 3.938 kB / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.1363, allocations: 19.98 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1363, allocations: 3.938 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1363, allocations: 4 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1363, allocations: 0 / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1363, allocations: 0 / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1367, allocations: 211.4 kB / 0.5592 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1367, allocations: 93.05 kB / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1368, allocations: 3.938 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1369, allocations: 11.98 kB / 0.5593 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1369, allocations: 4 kB / 0.5593 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1369, allocations: 11.98 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.137, allocations: 116.9 kB / 0.5594 GB, free: 2.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.137, allocations: 0 / 0.5594 GB, free: 2.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1373, allocations: 43.86 kB / 0.5595 GB, free: 2.574 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 (7): * Single equations (assignments): 7 * 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.002286/0.1396, allocations: 1.142 MB / 0.5606 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.1399, allocations: 79.92 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1399, allocations: 0 / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1401, allocations: 39.91 kB / 0.5607 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1404, allocations: 21.67 kB / 0.5607 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1425, allocations: 1.585 MB / 0.5622 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1429, allocations: 0.7041 MB / 0.5629 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.1429, allocations: 20.98 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.143, allocations: 35.41 kB / 0.563 GB, free: 15.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.143, allocations: 0 / 0.563 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1634, allocations: 3.559 MB / 0.5665 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.7, allocations: 19.97 kB / 0.5665 GB, free: 11.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.878130757017061]