Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001319/0.001319, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002289/0.002289, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 79.88 kB / 0.491 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1243, allocations: 65.98 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003113/0.1275, allocations: 1.624 MB / 0.557 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.1284, allocations: 0.5377 MB / 0.5575 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1285, allocations: 4 kB / 0.5575 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.1291, allocations: 451.1 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.1296, allocations: 295.3 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.13, allocations: 127 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1302, allocations: 163.6 kB / 0.5585 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.1303, allocations: 8.172 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1304, allocations: 107.8 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1307, allocations: 243.5 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1307, allocations: 0 / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.1308, allocations: 35.92 kB / 0.5589 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1309, allocations: 87.67 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.131, allocations: 99 kB / 0.559 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.1313, allocations: 254.6 kB / 0.5593 GB, free: 1.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1313, allocations: 4 kB / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1313, allocations: 0 / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1313, allocations: 0 / 0.5593 GB, free: 1.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007824/0.1321, allocations: 0.6491 MB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1321, allocations: 8.031 kB / 0.5599 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1322, allocations: 38.75 kB / 0.56 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.1322, allocations: 44.61 kB / 0.56 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1326, allocations: 312.5 kB / 0.5603 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1326, allocations: 384 / 0.5603 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1326, allocations: 4.125 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1328, allocations: 45.69 kB / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1328, allocations: 0 / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1328, allocations: 0 / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1328, allocations: 0 / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.1329, allocations: 19.98 kB / 0.5604 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.1334, allocations: 384.8 kB / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.1335, allocations: 30.56 kB / 0.5608 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.1335, allocations: 12.92 kB / 0.5608 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1335, allocations: 3.984 kB / 0.5608 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1336, allocations: 42.55 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1336, allocations: 0 / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002811/0.1339, allocations: 97.34 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1339, allocations: 51.52 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.1349, allocations: 0.8776 MB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1349, allocations: 29.7 kB / 0.5619 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1351, allocations: 228 kB / 0.5621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.1351, allocations: 7.891 kB / 0.5621 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1351, allocations: 13.84 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1353, allocations: 370.7 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.1354, allocations: 4 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.1354, allocations: 11.98 kB / 0.5625 GB, free: 14.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.1355, allocations: 24.84 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1355, allocations: 0 / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.1357, allocations: 97.41 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1357, allocations: 8 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1357, allocations: 0 / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1357, allocations: 0 / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1358, allocations: 7.984 kB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1358, allocations: 0 / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.1358, allocations: 7.938 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1358, allocations: 3.938 kB / 0.5626 GB, free: 14.21 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0002022/0.136, allocations: 216 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.1361, allocations: 43.7 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.1363, allocations: 104.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1363, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1363, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1363, allocations: 4 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1367, allocations: 285.5 kB / 0.5632 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1367, allocations: 0 / 0.5632 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.1367, allocations: 7.984 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1367, allocations: 4.031 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.1367, allocations: 4 kB / 0.5632 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1367, allocations: 0 / 0.5632 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1367, allocations: 0 / 0.5632 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1369, allocations: 187.2 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.137, allocations: 120.8 kB / 0.5635 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.137, allocations: 0 / 0.5635 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1371, allocations: 4.031 kB / 0.5635 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1371, allocations: 7.938 kB / 0.5635 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1371, allocations: 3.984 kB / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006977/0.1378, allocations: 0.6628 MB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1378, allocations: 0 / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1381, allocations: 23.94 kB / 0.5642 GB, free: 12.46 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001705/0.1398, allocations: 0.9748 MB / 0.5652 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1399, allocations: 27.92 kB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1399, allocations: 0 / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.14, allocations: 12 kB / 0.5652 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1404, allocations: 23.86 kB / 0.5652 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.1442, allocations: 3.155 MB / 0.5683 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.1447, allocations: 0.8182 MB / 0.5691 GB, free: 7.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.1447, allocations: 23.8 kB / 0.5691 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1449, allocations: 107.4 kB / 0.5692 GB, free: 7.309 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1449, allocations: 112 / 0.5692 GB, free: 7.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.1729, allocations: 5.775 MB / 0.5749 GB, free: 1.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.759/8.932, allocations: 3.188 kB / 0.5749 GB, free: 1.582 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.939551315968856]