Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.92 MB / 357.7 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 79.88 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1193, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003675/0.1229, allocations: 2.051 MB / 0.5582 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.125, allocations: 1.133 MB / 0.5593 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1252, allocations: 4 kB / 0.5593 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1257, allocations: 267.1 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005874/0.1263, allocations: 263 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1277, allocations: 0.6562 MB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.1283, allocations: 358.8 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1285, allocations: 56.72 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.1287, allocations: 159.4 kB / 0.561 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.1291, allocations: 235.1 kB / 0.5612 GB, free: 416 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1291, allocations: 12 kB / 0.5612 GB, free: 404 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1293, allocations: 99.95 kB / 0.5613 GB, free: 304 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1295, allocations: 111.5 kB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1296, allocations: 134.9 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.1301, allocations: 366.2 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1301, allocations: 4 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1301, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1301, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000893/0.131, allocations: 0.7151 MB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.131, allocations: 8.031 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.1311, allocations: 4.188 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.1311, allocations: 42.75 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1312, allocations: 44.66 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1316, allocations: 362.3 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1316, allocations: 4.375 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1317, allocations: 12.38 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1319, allocations: 129.8 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1319, allocations: 7.938 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1319, allocations: 8 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.132, allocations: 0 / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.1322, allocations: 95.88 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.1329, allocations: 0.5238 MB / 0.5638 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1331, allocations: 102.5 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.1331, allocations: 36.84 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1332, allocations: 4.203 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1332, allocations: 42.44 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1332, allocations: 4 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001017/0.1342, allocations: 452.4 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1343, allocations: 55.31 kB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.1349, allocations: 0.5995 MB / 0.565 GB, free: 12.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1349, allocations: 29.7 kB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1351, allocations: 212.4 kB / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.1352, allocations: 67.44 kB / 0.5653 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1352, allocations: 33.7 kB / 0.5654 GB, free: 11.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1354, allocations: 354.8 kB / 0.5657 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1355, allocations: 71.89 kB / 0.5658 GB, free: 11.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1357, allocations: 69.98 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.136, allocations: 150.5 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.136, allocations: 4 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004431/0.1364, allocations: 241.1 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1364, allocations: 4 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1364, allocations: 0 / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1364, allocations: 4 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1366, allocations: 31.97 kB / 0.5663 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1366, allocations: 4 kB / 0.5663 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.1367, allocations: 8 kB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1367, allocations: 8 kB / 0.5663 GB, free: 10.96 MB / 430.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 (17): * Single equations (assignments): 17 * 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.0001772/0.1369, allocations: 189.6 kB / 0.5665 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.1369, allocations: 47.67 kB / 0.5665 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.1375, allocations: 283.5 kB / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1375, allocations: 0 / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1375, allocations: 0 / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1375, allocations: 7.984 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.1384, allocations: 0.6934 MB / 0.5675 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1384, allocations: 7.922 kB / 0.5675 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1385, allocations: 31.98 kB / 0.5675 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1385, allocations: 0 / 0.5675 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1385, allocations: 8 kB / 0.5675 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1385, allocations: 0 / 0.5675 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1385, allocations: 3.938 kB / 0.5675 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.139, allocations: 341.5 kB / 0.5678 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.1391, allocations: 124.8 kB / 0.568 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.1391, allocations: 0 / 0.568 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1392, allocations: 11.98 kB / 0.568 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1393, allocations: 15.92 kB / 0.568 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1393, allocations: 4 kB / 0.568 GB, free: 9.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004655/0.1397, allocations: 454.8 kB / 0.5684 GB, free: 8.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 4 kB / 0.5684 GB, free: 8.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.14, allocations: 51.94 kB / 0.5685 GB, free: 8.598 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 (17): * Single equations (assignments): 17 * 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.003365/0.1434, allocations: 1.466 MB / 0.5699 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1438, allocations: 162.1 kB / 0.5701 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1438, allocations: 0 / 0.5701 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.144, allocations: 83.89 kB / 0.5701 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.1446, allocations: 84.55 kB / 0.5702 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1489, allocations: 3.352 MB / 0.5735 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.1494, allocations: 0.8221 MB / 0.5743 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.1495, allocations: 66.23 kB / 0.5744 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.1497, allocations: 143.3 kB / 0.5745 GB, free: 2.594 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1497, allocations: 0 / 0.5745 GB, free: 2.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.174, allocations: 7.948 MB / 0.5823 GB, free: 10.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.552, allocations: 10.23 kB / 0.5823 GB, free: 10.69 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.871299938007724]