Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001305/0.001305, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001355/0.001355, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.393/1.393, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2131/0.2131, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 79.88 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1196, allocations: 66.06 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00321/0.1228, allocations: 1.621 MB / 0.5578 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1238, allocations: 0.5488 MB / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1238, allocations: 0 / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1241, allocations: 103.7 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1245, allocations: 107.6 kB / 0.5585 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1248, allocations: 109.9 kB / 0.5586 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1249, allocations: 87.73 kB / 0.5587 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1251, allocations: 19.98 kB / 0.5587 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.1251, allocations: 39.83 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1253, allocations: 59.81 kB / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1253, allocations: 0 / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1254, allocations: 51.92 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.1255, allocations: 23.92 kB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1255, allocations: 31.73 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1258, allocations: 111.5 kB / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1258, allocations: 4 kB / 0.559 GB, free: 2.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1258, allocations: 0 / 0.559 GB, free: 2.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1258, allocations: 0 / 0.559 GB, free: 2.547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006066/0.1264, allocations: 426.7 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1264, allocations: 12.03 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.1264, allocations: 4.125 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.1265, allocations: 34.69 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1265, allocations: 20.83 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1267, allocations: 192.2 kB / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1268, allocations: 8.359 kB / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1268, allocations: 8.328 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1269, allocations: 61.98 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1269, allocations: 0 / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.127, allocations: 0 / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.127, allocations: 4 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1271, allocations: 31.91 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.1276, allocations: 316.7 kB / 0.5601 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1277, allocations: 42.56 kB / 0.5601 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.1277, allocations: 20.94 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1277, allocations: 0 / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1278, allocations: 34.5 kB / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1278, allocations: 0 / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009618/0.1287, allocations: 245.2 kB / 0.5604 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1288, allocations: 51.41 kB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.129, allocations: 226.7 kB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1291, allocations: 29.7 kB / 0.5607 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.1292, allocations: 108.1 kB / 0.5608 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.1292, allocations: 27.88 kB / 0.5608 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.1293, allocations: 29.7 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1294, allocations: 326.8 kB / 0.5612 GB, free: 104 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.1295, allocations: 31.97 kB / 0.5612 GB, free: 72 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.1296, allocations: 27.98 kB / 0.5612 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1298, allocations: 68.81 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1298, allocations: 7.938 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002439/0.1301, allocations: 117.6 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1301, allocations: 5.719 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1301, allocations: 0 / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1301, allocations: 3.938 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1302, allocations: 19.98 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1302, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1303, allocations: 11.92 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1303, allocations: 0 / 0.5615 GB, free: 15.8 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 (8): * Single equations (assignments): 8 * 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.0001201/0.1304, allocations: 138.8 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1304, allocations: 12.38 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.1308, allocations: 143.2 kB / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1308, allocations: 0 / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1308, allocations: 0 / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1308, allocations: 11.91 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.1314, allocations: 419.3 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1314, allocations: 0 / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.1314, allocations: 15.98 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1315, allocations: 3.938 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1315, allocations: 8 kB / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1315, allocations: 3.938 kB / 0.5622 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1315, allocations: 0 / 0.5622 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1318, allocations: 220.3 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.1319, allocations: 89.05 kB / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1319, allocations: 7.938 kB / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.132, allocations: 7.938 kB / 0.5625 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.132, allocations: 7.984 kB / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.132, allocations: 4 kB / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1322, allocations: 179.2 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1322, allocations: 0 / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1324, allocations: 27.94 kB / 0.5627 GB, free: 14.41 MB / 430.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 (8): * Single equations (assignments): 8 * 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.002179/0.1346, allocations: 1.091 MB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1349, allocations: 75.88 kB / 0.5638 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1349, allocations: 0 / 0.5638 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.135, allocations: 39.98 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1353, allocations: 25.48 kB / 0.5639 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1375, allocations: 1.759 MB / 0.5656 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1378, allocations: 0.7197 MB / 0.5663 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.204e-05/0.1379, allocations: 20.64 kB / 0.5663 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.138, allocations: 35.42 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.138, allocations: 0 / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.1573, allocations: 3.295 MB / 0.5696 GB, free: 7.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.166, allocations: 8.609 kB / 0.5696 GB, free: 7.434 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.103740633989219]