Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001658/0.001658, allocations: 119 kB / 18.5 MB, free: 4.602 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.001734/0.001734, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.491/1.491, 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.2208/0.2208, allocations: 44.92 MB / 349.6 MB, free: 1.734 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 69.02 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002989/0.1288, allocations: 1.626 MB / 0.5446 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1304, allocations: 1.062 MB / 0.5457 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1305, allocations: 8 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1307, allocations: 23.84 kB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1309, allocations: 47.77 kB / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1313, allocations: 170.9 kB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1314, allocations: 71.78 kB / 0.546 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1315, allocations: 23.91 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1316, allocations: 23.92 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1317, allocations: 31.84 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1317, allocations: 4 kB / 0.546 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1318, allocations: 55.91 kB / 0.5461 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1319, allocations: 19.92 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1319, allocations: 27.8 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1322, allocations: 99.64 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1322, allocations: 3.938 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1322, allocations: 4 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1322, allocations: 0 / 0.5462 GB, free: 0.793 MB / 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.0005407/0.1327, allocations: 395 kB / 0.5466 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1327, allocations: 8.031 kB / 0.5466 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.1328, allocations: 38.75 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1329, allocations: 8.891 kB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1331, allocations: 196.2 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1331, allocations: 384 / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1332, allocations: 8.328 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1334, allocations: 87.39 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1334, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1334, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1334, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1335, allocations: 43.95 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.134, allocations: 308.7 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1341, allocations: 42.56 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.1342, allocations: 28.94 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1342, allocations: 4 kB / 0.5474 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1342, allocations: 30.56 kB / 0.5474 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1342, allocations: 4 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007444/0.135, allocations: 225.3 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.135, allocations: 81.05 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1352, allocations: 157.5 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1352, allocations: 29.7 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1353, allocations: 92.14 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1353, allocations: 27.78 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1353, allocations: 21.66 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1355, allocations: 322.8 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1356, allocations: 35.97 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1357, allocations: 57.67 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1359, allocations: 84.8 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1359, allocations: 0 / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002795/0.1362, allocations: 125.8 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1362, allocations: 13.5 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1362, allocations: 0 / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1363, allocations: 0 / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1364, allocations: 23.97 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1364, allocations: 8 kB / 0.5486 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.1364, allocations: 4 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1365, allocations: 4 kB / 0.5486 GB, free: 14.08 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 (7): * Single equations (assignments): 7 * 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.0001006/0.1366, allocations: 125.8 kB / 0.5488 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1366, allocations: 7.953 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.1369, allocations: 142.2 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1369, allocations: 4 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.137, allocations: 3.938 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.137, allocations: 4 kB / 0.5489 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.1375, allocations: 406.5 kB / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1375, allocations: 0 / 0.5493 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.1376, allocations: 19.98 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1376, allocations: 7.875 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1376, allocations: 0 / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1376, allocations: 4 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1376, allocations: 0 / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.138, allocations: 223.4 kB / 0.5496 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.138, allocations: 81.06 kB / 0.5496 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.138, allocations: 7.938 kB / 0.5496 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.1381, allocations: 11.98 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1382, allocations: 7.984 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1382, allocations: 4 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1383, allocations: 115.2 kB / 0.5498 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1383, allocations: 0 / 0.5498 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1385, allocations: 23.94 kB / 0.5498 GB, free: 12.79 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 (7): * Single equations (assignments): 7 * 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.002104/0.1406, allocations: 1.094 MB / 0.5509 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.141, allocations: 95.91 kB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.141, allocations: 0 / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1411, allocations: 43.91 kB / 0.551 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1414, allocations: 22.8 kB / 0.551 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1434, allocations: 1.605 MB / 0.5526 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1438, allocations: 0.6924 MB / 0.5533 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.876e-05/0.1439, allocations: 25.09 kB / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.1439, allocations: 35.42 kB / 0.5533 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1439, allocations: 0 / 0.5533 GB, free: 9.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.1701, allocations: 3.155 MB / 0.5564 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.09, allocations: 20.92 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.258369856048375]