Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001754/0.001754, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002225/0.002225, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.561/1.561, 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.2468/0.2468, allocations: 46.93 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.91 kB / 0.4909 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 66 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003428/0.137, allocations: 1.651 MB / 0.557 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.138, allocations: 0.688 MB / 0.5577 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1381, allocations: 0 / 0.5577 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1384, allocations: 31.83 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1386, allocations: 35.84 kB / 0.5577 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.179e-06/0.1386, allocations: 4 kB / 0.5577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1388, allocations: 35.89 kB / 0.5578 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.1388, allocations: 4 kB / 0.5578 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1389, allocations: 7.938 kB / 0.5578 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.1389, allocations: 19.91 kB / 0.5578 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1389, allocations: 0 / 0.5578 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.139, allocations: 8 kB / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1391, allocations: 27.8 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1391, allocations: 19.81 kB / 0.5579 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1393, allocations: 67.67 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1393, allocations: 4 kB / 0.5579 GB, free: 3.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1393, allocations: 4 kB / 0.5579 GB, free: 3.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1393, allocations: 0 / 0.5579 GB, free: 3.242 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004144/0.1397, allocations: 367.1 kB / 0.5583 GB, free: 2.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1397, allocations: 8.031 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1398, allocations: 46.72 kB / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1398, allocations: 8.891 kB / 0.5583 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.14, allocations: 176.2 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.14, allocations: 384 / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.14, allocations: 8.359 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1402, allocations: 131.3 kB / 0.5586 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1402, allocations: 3.938 kB / 0.5586 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1403, allocations: 0 / 0.5586 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.1403, allocations: 23.98 kB / 0.5587 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.1404, allocations: 47.84 kB / 0.5587 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.1412, allocations: 0.8791 MB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1413, allocations: 177.2 kB / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.1413, allocations: 84.08 kB / 0.5598 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.1414, allocations: 79.28 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.1414, allocations: 105.8 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.1414, allocations: 0 / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.959e-05/0.1415, allocations: 37.61 kB / 0.56 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1416, allocations: 138.6 kB / 0.5602 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1418, allocations: 180.4 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1418, allocations: 25.7 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1419, allocations: 159.5 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.1419, allocations: 3.953 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1421, allocations: 45.66 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1422, allocations: 314.8 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.1423, allocations: 39.97 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.1424, allocations: 150.7 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1427, allocations: 208.9 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1427, allocations: 0 / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000314/0.143, allocations: 201.1 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.143, allocations: 10.03 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.143, allocations: 8.609 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.143, allocations: 4 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1432, allocations: 43.92 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1432, allocations: 11.88 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.1433, allocations: 23.83 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1433, allocations: 12 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001407/0.1434, allocations: 209.9 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.1435, allocations: 116.9 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.1436, allocations: 124.6 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/0.1437, allocations: 184.3 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.653e-05/0.1437, allocations: 184.2 kB / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.214e-05/0.1438, allocations: 176.3 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1441, allocations: 425.1 kB / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.434e-05/0.1442, allocations: 104.9 kB / 0.563 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.1443, allocations: 109 kB / 0.5631 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.1445, allocations: 184.2 kB / 0.5633 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1446, allocations: 180.2 kB / 0.5634 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.817e-05/0.1447, allocations: 176.3 kB / 0.5636 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000189/0.1449, allocations: 180.2 kB / 0.5638 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1451, allocations: 327.6 kB / 0.5641 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1452, allocations: 190 kB / 0.5643 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1453, allocations: 176.3 kB / 0.5645 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.1454, allocations: 104.9 kB / 0.5646 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1455, allocations: 180.3 kB / 0.5647 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.1456, allocations: 116.9 kB / 0.5648 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1458, allocations: 127.2 kB / 0.565 GB, free: 11.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 0 / 0.565 GB, free: 11.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.1462, allocations: 19.94 kB / 0.565 GB, free: 11.4 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 (0): * Single equations (assignments): 0 * 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.001415/0.1476, allocations: 0.9176 MB / 0.5659 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1478, allocations: 67.78 kB / 0.5659 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1478, allocations: 4 kB / 0.5659 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.1478, allocations: 1.25 kB / 0.5659 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1483, allocations: 467.6 kB / 0.5664 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1504, allocations: 1.879 MB / 0.5682 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.1509, allocations: 0.6967 MB / 0.5689 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.1511, allocations: 49.02 kB / 0.5689 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.1512, allocations: 27.42 kB / 0.569 GB, free: 7.098 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1512, allocations: 0 / 0.569 GB, free: 7.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.1866, allocations: 2.144 MB / 0.5711 GB, free: 5.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.284, allocations: 8.859 kB / 0.5711 GB, free: 4.996 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.480467677116394]