Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001709/0.001709, 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.001665/0.001665, 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.446/1.446, 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.2241/0.2241, 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 80.16 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1287, allocations: 66.06 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003542/0.1322, allocations: 1.587 MB / 0.5577 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1334, allocations: 0.5449 MB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1335, allocations: 0 / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1337, allocations: 31.78 kB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.134, allocations: 75.69 kB / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1343, allocations: 87.7 kB / 0.5584 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1344, allocations: 71.77 kB / 0.5585 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.1345, allocations: 4 kB / 0.5585 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.1346, allocations: 19.92 kB / 0.5585 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.1347, allocations: 31.84 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1347, allocations: 0 / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.1347, allocations: 31.98 kB / 0.5586 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.1348, allocations: 15.88 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1348, allocations: 23.8 kB / 0.5586 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.135, allocations: 79.66 kB / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.135, allocations: 0 / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.135, allocations: 4 kB / 0.5587 GB, free: 2.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.135, allocations: 0 / 0.5587 GB, free: 2.883 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000495/0.1355, allocations: 387 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1356, allocations: 11.97 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.517e-05/0.1356, allocations: 4.188 kB / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1356, allocations: 38.73 kB / 0.5591 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1356, allocations: 8.891 kB / 0.5591 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1359, allocations: 197.9 kB / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1359, allocations: 4.375 kB / 0.5593 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1359, allocations: 4.375 kB / 0.5593 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.136, allocations: 50 kB / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1361, allocations: 7.938 kB / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1361, allocations: 0 / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1361, allocations: 4 kB / 0.5594 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1362, allocations: 23.97 kB / 0.5594 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1366, allocations: 276.8 kB / 0.5597 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1368, allocations: 38.56 kB / 0.5597 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1368, allocations: 20.86 kB / 0.5597 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1369, allocations: 0 / 0.5597 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1369, allocations: 30.66 kB / 0.5598 GB, free: 1.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1369, allocations: 0 / 0.5598 GB, free: 1.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005688/0.1375, allocations: 141.4 kB / 0.5599 GB, free: 1.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1375, allocations: 59.41 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1376, allocations: 148.7 kB / 0.5601 GB, free: 1.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1377, allocations: 25.7 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.1377, allocations: 100.1 kB / 0.5602 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1378, allocations: 19.86 kB / 0.5602 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1378, allocations: 17.7 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1379, allocations: 318.8 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.138, allocations: 23.98 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.1381, allocations: 27.91 kB / 0.5606 GB, free: 0.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1382, allocations: 36.84 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1382, allocations: 0 / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001948/0.1384, allocations: 85.61 kB / 0.5607 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1384, allocations: 4 kB / 0.5607 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1384, allocations: 4 kB / 0.5607 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1384, allocations: 4 kB / 0.5607 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.1385, allocations: 11.94 kB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1385, allocations: 3.984 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.1385, allocations: 4.25 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1385, allocations: 7.938 kB / 0.5608 GB, free: 0.5391 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 (5): * Single equations (assignments): 5 * 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 8.755e-05/0.1386, allocations: 117.8 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1387, allocations: 11.95 kB / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1389, allocations: 93.95 kB / 0.561 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1389, allocations: 4 kB / 0.561 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1389, allocations: 0 / 0.561 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1389, allocations: 0 / 0.561 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1394, allocations: 342.5 kB / 0.5613 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1394, allocations: 0 / 0.5613 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.1394, allocations: 11.98 kB / 0.5613 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1394, allocations: 4 kB / 0.5613 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1394, allocations: 8 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1394, allocations: 0 / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1394, allocations: 7.875 kB / 0.5613 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1397, allocations: 183.7 kB / 0.5615 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.1397, allocations: 85.06 kB / 0.5616 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1397, allocations: 0 / 0.5616 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1398, allocations: 11.98 kB / 0.5616 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1398, allocations: 7.922 kB / 0.5616 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1398, allocations: 0 / 0.5616 GB, free: 15.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.913e-05/0.1399, allocations: 119.2 kB / 0.5617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1399, allocations: 0 / 0.5617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1402, allocations: 19.94 kB / 0.5618 GB, free: 15.42 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 (5): * Single equations (assignments): 5 * 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.001908/0.1421, allocations: 1.01 MB / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1423, allocations: 47.91 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1423, allocations: 0 / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.1424, allocations: 19.98 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1427, allocations: 23.92 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1445, allocations: 1.433 MB / 0.5642 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1448, allocations: 0.6924 MB / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1449, allocations: 20.08 kB / 0.5649 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.1449, allocations: 23.44 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1449, allocations: 4 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1632, allocations: 2.587 MB / 0.5675 GB, free: 9.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.195, allocations: 11.86 kB / 0.5675 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.20374163199449]