Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001925/0.001925, 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.002375/0.002375, 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.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2235/0.2235, 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.001949/0.001949, allocations: 75.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1237, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003128/0.1268, allocations: 1.666 MB / 0.5541 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1287, allocations: 1.179 MB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.1287, allocations: 4 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.1289, allocations: 23.86 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1292, allocations: 87.61 kB / 0.5553 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1296, allocations: 139.6 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1297, allocations: 71.77 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1298, allocations: 12.22 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.1299, allocations: 39.78 kB / 0.5556 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.13, allocations: 31.84 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1301, allocations: 8 kB / 0.5556 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.1302, allocations: 103.9 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.1303, allocations: 23.91 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1304, allocations: 27.81 kB / 0.5558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1306, allocations: 151.4 kB / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1306, allocations: 0 / 0.5559 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1306, allocations: 4 kB / 0.5559 GB, free: 6.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1306, allocations: 0 / 0.5559 GB, free: 6.539 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.0006153/0.1312, allocations: 422.7 kB / 0.5563 GB, free: 6.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1313, allocations: 12.03 kB / 0.5563 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.076e-05/0.1313, allocations: 192 / 0.5563 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.1313, allocations: 38.73 kB / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1314, allocations: 8.891 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1316, allocations: 192.3 kB / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.1316, allocations: 4.375 kB / 0.5566 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1317, allocations: 12.08 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1318, allocations: 71.38 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1318, allocations: 3.938 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1319, allocations: 3.938 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1319, allocations: 11.97 kB / 0.5567 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.132, allocations: 39.95 kB / 0.5567 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1324, allocations: 296.7 kB / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1326, allocations: 46.55 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.1326, allocations: 24.88 kB / 0.5571 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1326, allocations: 0 / 0.5571 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1327, allocations: 38.56 kB / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1327, allocations: 0 / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008429/0.1335, allocations: 201.3 kB / 0.5573 GB, free: 4.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.1336, allocations: 93.09 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1338, allocations: 151.6 kB / 0.5575 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1338, allocations: 25.7 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.1339, allocations: 96.12 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1339, allocations: 27.81 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.134, allocations: 25.7 kB / 0.5577 GB, free: 4.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1341, allocations: 314.8 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1342, allocations: 35.97 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1344, allocations: 49.67 kB / 0.5581 GB, free: 4.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1346, allocations: 72.81 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1346, allocations: 0 / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003091/0.1349, allocations: 117.6 kB / 0.5583 GB, free: 3.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1349, allocations: 4 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1349, allocations: 4 kB / 0.5583 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1349, allocations: 0 / 0.5583 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1351, allocations: 19.98 kB / 0.5583 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1351, allocations: 3.938 kB / 0.5583 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.1351, allocations: 15.98 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1351, allocations: 0 / 0.5583 GB, free: 3.852 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.618e-05/0.1352, allocations: 124 kB / 0.5584 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.1353, allocations: 7.953 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.1357, allocations: 130.3 kB / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1357, allocations: 0 / 0.5586 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1357, allocations: 3.938 kB / 0.5586 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1357, allocations: 0 / 0.5586 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.1363, allocations: 398.8 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1363, allocations: 0 / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.439e-05/0.1364, allocations: 27.92 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1364, allocations: 3.938 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1364, allocations: 0 / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1364, allocations: 0 / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1364, allocations: 8.016 kB / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.1367, allocations: 215.4 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.1368, allocations: 85.06 kB / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1368, allocations: 7.938 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1369, allocations: 11.98 kB / 0.5593 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.137, allocations: 11.92 kB / 0.5593 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.137, allocations: 4 kB / 0.5593 GB, free: 2.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1371, allocations: 120.8 kB / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1371, allocations: 0 / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1374, allocations: 43.88 kB / 0.5595 GB, free: 2.566 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.00226/0.1396, allocations: 1.132 MB / 0.5606 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.14, allocations: 83.86 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.14, allocations: 0 / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1401, allocations: 43.95 kB / 0.5607 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1405, allocations: 17.31 kB / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.1427, allocations: 1.589 MB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.143, allocations: 0.7002 MB / 0.5629 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.1431, allocations: 16.66 kB / 0.563 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.1432, allocations: 31.42 kB / 0.563 GB, free: 15.02 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1432, allocations: 0 / 0.563 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1646, allocations: 3.573 MB / 0.5665 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/8.869, allocations: 15.98 kB / 0.5665 GB, free: 11.44 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.949805698008277]