Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.2234/0.2234, allocations: 44.91 MB / 349.6 MB, free: 1.711 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.25 kB / 491.8 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 64.26 MB / 0.543 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002976/0.1191, allocations: 1.622 MB / 0.5446 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.1199, allocations: 451.1 kB / 0.545 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.1199, allocations: 4 kB / 0.545 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.1205, allocations: 451.1 kB / 0.5455 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1209, allocations: 255.5 kB / 0.5457 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1213, allocations: 166.6 kB / 0.5459 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1216, allocations: 175.6 kB / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1217, allocations: 24.05 kB / 0.5461 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1218, allocations: 103.8 kB / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1221, allocations: 243.5 kB / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1221, allocations: 4 kB / 0.5464 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.1222, allocations: 31.98 kB / 0.5464 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1223, allocations: 91.62 kB / 0.5465 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.1224, allocations: 107 kB / 0.5466 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1227, allocations: 258.6 kB / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1227, allocations: 0 / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1227, allocations: 0 / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1227, allocations: 4 kB / 0.5469 GB, free: 120 kB / 398.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.0008103/0.1235, allocations: 0.6531 MB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1236, allocations: 8.031 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1236, allocations: 34.75 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.1237, allocations: 40.66 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.124, allocations: 316.5 kB / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.124, allocations: 384 / 0.5479 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1241, allocations: 8.125 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1242, allocations: 49.69 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1242, allocations: 4 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1242, allocations: 0 / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1242, allocations: 0 / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.1243, allocations: 27.97 kB / 0.548 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.1249, allocations: 408.6 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1251, allocations: 42.56 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.1252, allocations: 16.94 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1252, allocations: 0 / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1252, allocations: 34.56 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1252, allocations: 4 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006252/0.1259, allocations: 236.6 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1259, allocations: 59.34 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/0.1268, allocations: 0.8691 MB / 0.5496 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1268, allocations: 25.7 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.127, allocations: 228 kB / 0.5498 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.127, allocations: 23.83 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.1271, allocations: 17.72 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1273, allocations: 358.8 kB / 0.5502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.1274, allocations: 23.97 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.1274, allocations: 19.98 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1275, allocations: 57.02 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1275, allocations: 4 kB / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002219/0.1278, allocations: 121.4 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1278, allocations: 13.97 kB / 0.5504 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1278, allocations: 0 / 0.5504 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1278, allocations: 0 / 0.5504 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.1279, allocations: 11.94 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1279, allocations: 3.938 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1279, allocations: 7.984 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1279, allocations: 8 kB / 0.5505 GB, free: 12.18 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 (5): * Single equations (assignments): 5 * 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.0002052/0.1281, allocations: 213.8 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.1282, allocations: 47.67 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.1285, allocations: 137.1 kB / 0.5509 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1285, allocations: 0 / 0.5509 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1285, allocations: 3.938 kB / 0.5509 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1285, allocations: 288 / 0.5509 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.1291, allocations: 474.4 kB / 0.5513 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1291, allocations: 0 / 0.5513 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.1292, allocations: 8 kB / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1292, allocations: 7.922 kB / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1292, allocations: 0 / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1292, allocations: 4 kB / 0.5513 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1292, allocations: 3.984 kB / 0.5513 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1294, allocations: 223.4 kB / 0.5515 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1295, allocations: 116.8 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1296, allocations: 3.938 kB / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.1297, allocations: 7.938 kB / 0.5517 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1297, allocations: 3.984 kB / 0.5517 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1297, allocations: 8 kB / 0.5517 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006497/0.1303, allocations: 0.6511 MB / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1303, allocations: 4 kB / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1306, allocations: 24 kB / 0.5523 GB, free: 10.16 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 (5): * Single equations (assignments): 5 * 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.001916/0.1325, allocations: 1.062 MB / 0.5534 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1327, allocations: 47.97 kB / 0.5534 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1327, allocations: 0 / 0.5534 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.1328, allocations: 23.98 kB / 0.5534 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1332, allocations: 28.64 kB / 0.5535 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.1369, allocations: 3.249 MB / 0.5567 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.1373, allocations: 0.8336 MB / 0.5575 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.1374, allocations: 15.97 kB / 0.5575 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1375, allocations: 111.4 kB / 0.5576 GB, free: 4.828 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1375, allocations: 0 / 0.5576 GB, free: 4.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.1651, allocations: 6.071 MB / 0.5635 GB, free: 14.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/8.683, allocations: 9.859 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.636993595864624]