Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001332/0.001332, allocations: 119 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.001301/0.001301, 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.444/1.444, allocations: 225.6 MB / 249.8 MB, free: 3.711 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.2157/0.2157, allocations: 44.92 MB / 349.6 MB, free: 1.715 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 68.2 kB / 491.8 MB, free: 30.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.112, allocations: 64.26 MB / 0.543 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.005074/0.1171, allocations: 2.03 MB / 0.545 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.1195, allocations: 1.064 MB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1197, allocations: 0 / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1201, allocations: 51.58 kB / 0.5461 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.1206, allocations: 159.3 kB / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1222, allocations: 426.7 kB / 0.5466 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.1227, allocations: 287.1 kB / 0.5469 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1229, allocations: 44.67 kB / 0.547 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1231, allocations: 131.5 kB / 0.5471 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.1235, allocations: 203.4 kB / 0.5473 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1236, allocations: 16 kB / 0.5473 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1237, allocations: 63.8 kB / 0.5474 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.124, allocations: 147.4 kB / 0.5475 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.1242, allocations: 174.6 kB / 0.5477 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.1248, allocations: 394 kB / 0.548 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1248, allocations: 0 / 0.548 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1248, allocations: 0 / 0.548 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1248, allocations: 0 / 0.548 GB, free: 15.02 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001626/0.1265, allocations: 0.82 MB / 0.5488 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1265, allocations: 8.031 kB / 0.5489 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.1266, allocations: 46.69 kB / 0.5489 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1267, allocations: 56.56 kB / 0.549 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.1276, allocations: 468.2 kB / 0.5494 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1276, allocations: 8.375 kB / 0.5494 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.1277, allocations: 15.94 kB / 0.5494 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.1282, allocations: 135.3 kB / 0.5495 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.1282, allocations: 3.953 kB / 0.5496 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.1282, allocations: 12 kB / 0.5496 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1282, allocations: 0 / 0.5496 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1287, allocations: 99.86 kB / 0.5497 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1301, allocations: 0.684 MB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.1306, allocations: 113.2 kB / 0.5504 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.1308, allocations: 57.75 kB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1309, allocations: 7.984 kB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.1309, allocations: 42.5 kB / 0.5505 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.1309, allocations: 0 / 0.5505 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.00338/0.1343, allocations: 0.6911 MB / 0.5512 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.1344, allocations: 77.11 kB / 0.5513 GB, free: 11.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.1361, allocations: 0.8702 MB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.1361, allocations: 33.69 kB / 0.5522 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.1365, allocations: 260.4 kB / 0.5524 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1366, allocations: 67.39 kB / 0.5525 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1367, allocations: 41.69 kB / 0.5525 GB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002803/0.137, allocations: 378.7 kB / 0.5529 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.1375, allocations: 87.92 kB / 0.553 GB, free: 9.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.138, allocations: 115.4 kB / 0.5531 GB, free: 9.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.139, allocations: 209.7 kB / 0.5533 GB, free: 9.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.139, allocations: 4 kB / 0.5533 GB, free: 9.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001273/0.1403, allocations: 301 kB / 0.5536 GB, free: 9.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1403, allocations: 4 kB / 0.5536 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1403, allocations: 0 / 0.5536 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1404, allocations: 3.984 kB / 0.5536 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.1409, allocations: 59.95 kB / 0.5536 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1409, allocations: 0 / 0.5536 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.1412, allocations: 19.98 kB / 0.5537 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.1413, allocations: 11.98 kB / 0.5537 GB, free: 8.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0003434/0.1416, allocations: 213.7 kB / 0.5539 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.1418, allocations: 55.62 kB / 0.5539 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.1432, allocations: 358.1 kB / 0.5543 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1432, allocations: 3.984 kB / 0.5543 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1432, allocations: 0 / 0.5543 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1433, allocations: 4 kB / 0.5543 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.1458, allocations: 0.8882 MB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1458, allocations: 0 / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.1463, allocations: 55.89 kB / 0.5552 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.1463, allocations: 8 kB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.1464, allocations: 4 kB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.1464, allocations: 7.938 kB / 0.5552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1464, allocations: 7.922 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1477, allocations: 474.3 kB / 0.5557 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.148, allocations: 152.7 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.1481, allocations: 4 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.1486, allocations: 23.92 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.1487, allocations: 19.91 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.1487, allocations: 16.36 kB / 0.5559 GB, free: 6.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.15, allocations: 0.6355 MB / 0.5565 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.15, allocations: 0 / 0.5565 GB, free: 5.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.1507, allocations: 59.98 kB / 0.5566 GB, free: 5.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.003946/0.1546, allocations: 1.305 MB / 0.5578 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1558, allocations: 223.6 kB / 0.558 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1558, allocations: 0 / 0.558 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.1563, allocations: 119.8 kB / 0.5582 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1574, allocations: 80.59 kB / 0.5582 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.1692, allocations: 5.168 MB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.17, allocations: 0.8575 MB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.1704, allocations: 83.22 kB / 0.5642 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.1708, allocations: 179.4 kB / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1708, allocations: 0 / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.2103, allocations: 10.08 MB / 0.5742 GB, free: 3.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/8.918, allocations: 11.92 kB / 0.5742 GB, free: 3.887 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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: 12.067184277344495]