Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001472/0.001472, allocations: 119 kB / 18.5 MB, free: 4.566 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.001278/0.001278, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.475/1.475, 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.2244/0.2244, allocations: 44.92 MB / 349.6 MB, free: 1.738 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.98 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1319, allocations: 64.26 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003115/0.135, allocations: 1.588 MB / 0.5446 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.1359, allocations: 407.2 kB / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.1359, allocations: 0 / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1365, allocations: 455.1 kB / 0.5454 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.1369, allocations: 243.5 kB / 0.5456 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1373, allocations: 135.1 kB / 0.5457 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1375, allocations: 143.8 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1376, allocations: 19.97 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1377, allocations: 103.7 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.138, allocations: 243.5 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.138, allocations: 0 / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1381, allocations: 27.97 kB / 0.5463 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1382, allocations: 79.69 kB / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.1383, allocations: 99 kB / 0.5464 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1387, allocations: 254.9 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1387, allocations: 0 / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1387, allocations: 0 / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1387, allocations: 0 / 0.5467 GB, free: 332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008318/0.1395, allocations: 0.6452 MB / 0.5473 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.1396, allocations: 16.02 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.1396, allocations: 34.75 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.1397, allocations: 44.61 kB / 0.5474 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.14, allocations: 292.7 kB / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.14, allocations: 384 / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.14, allocations: 384 / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1401, allocations: 53.62 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1402, allocations: 0 / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1402, allocations: 3.938 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1402, allocations: 4 kB / 0.5477 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.1403, allocations: 23.92 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.1407, allocations: 384.7 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/0.1408, allocations: 26.58 kB / 0.5482 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.1408, allocations: 16.91 kB / 0.5482 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1409, allocations: 4 kB / 0.5482 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1409, allocations: 34.5 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1409, allocations: 4 kB / 0.5482 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002468/0.1411, allocations: 93.39 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1412, allocations: 55.41 kB / 0.5484 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.142, allocations: 0.8613 MB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.142, allocations: 25.7 kB / 0.5492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1422, allocations: 224.2 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1422, allocations: 3.953 kB / 0.5494 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1423, allocations: 13.72 kB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1424, allocations: 366.7 kB / 0.5498 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.1425, allocations: 4 kB / 0.5498 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.1425, allocations: 19.86 kB / 0.5498 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.1426, allocations: 28.91 kB / 0.5498 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1426, allocations: 0 / 0.5498 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000152/0.1427, allocations: 89.41 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1428, allocations: 4 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1428, allocations: 4 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1428, allocations: 0 / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1428, allocations: 4 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1428, allocations: 0 / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.1429, allocations: 3.984 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1429, allocations: 8.031 kB / 0.55 GB, free: 12.73 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 (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.000196/0.1431, allocations: 205.7 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.1432, allocations: 51.64 kB / 0.5502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1434, allocations: 108.6 kB / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1434, allocations: 0 / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1434, allocations: 7.984 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1434, allocations: 0 / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.1437, allocations: 277.5 kB / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1437, allocations: 11.95 kB / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1437, allocations: 4 kB / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1437, allocations: 4 kB / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1437, allocations: 0 / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1437, allocations: 0 / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1437, allocations: 0 / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1439, allocations: 195.1 kB / 0.5508 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.144, allocations: 112.8 kB / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.144, allocations: 4 kB / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1441, allocations: 0 / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.1441, allocations: 3.984 kB / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1441, allocations: 4 kB / 0.5509 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006327/0.1448, allocations: 0.6511 MB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1448, allocations: 0 / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.145, allocations: 23.88 kB / 0.5516 GB, free: 10.98 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 (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.001614/0.1466, allocations: 0.968 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1468, allocations: 23.98 kB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1468, allocations: 0 / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.1468, allocations: 7.938 kB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1472, allocations: 29.89 kB / 0.5526 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.1508, allocations: 3.111 MB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.1514, allocations: 0.8283 MB / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.1514, allocations: 7.938 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1516, allocations: 111.4 kB / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1516, allocations: 0 / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.1818, allocations: 5.728 MB / 0.5621 GB, free: 216 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.579, allocations: 17.64 kB / 0.5621 GB, free: 204 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.742099969182163]