Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001309/0.001309, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001319/0.001319, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.4/1.4, allocations: 230.4 MB / 254.7 MB, free: 15 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.214/0.214, allocations: 46.91 MB / 357.7 MB, free: 10.16 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.89 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 66.05 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003044/0.1265, allocations: 1.616 MB / 0.5577 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1282, allocations: 1.175 MB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1283, allocations: 0 / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1285, allocations: 27.78 kB / 0.5589 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.1288, allocations: 83.62 kB / 0.559 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1291, allocations: 109.2 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1293, allocations: 71.77 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.1294, allocations: 11.98 kB / 0.5592 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.1294, allocations: 27.86 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1296, allocations: 35.84 kB / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1296, allocations: 4 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1298, allocations: 95.92 kB / 0.5593 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.1298, allocations: 15.94 kB / 0.5594 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.1299, allocations: 27.73 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1301, allocations: 147.5 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1301, allocations: 0 / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1301, allocations: 0 / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1301, allocations: 0 / 0.5595 GB, free: 2.02 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.0005238/0.1306, allocations: 402.8 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1307, allocations: 12.03 kB / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.1307, allocations: 192 / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.1307, allocations: 30.75 kB / 0.5599 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.1308, allocations: 8.891 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.131, allocations: 202 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.131, allocations: 8.375 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.131, allocations: 384 / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1312, allocations: 67.7 kB / 0.5602 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1312, allocations: 0 / 0.5602 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1312, allocations: 4 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1312, allocations: 0 / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.1313, allocations: 27.97 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1317, allocations: 288.8 kB / 0.5605 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1319, allocations: 42.56 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.132, allocations: 20.94 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.132, allocations: 0 / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.132, allocations: 38.56 kB / 0.5606 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.132, allocations: 0 / 0.5606 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005653/0.1326, allocations: 149.4 kB / 0.5608 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1326, allocations: 77.11 kB / 0.5608 GB, free: 476 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1328, allocations: 145.8 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1328, allocations: 29.7 kB / 0.561 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1329, allocations: 96.12 kB / 0.5611 GB, free: 184 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1329, allocations: 27.73 kB / 0.5611 GB, free: 156 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1329, allocations: 17.72 kB / 0.5611 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1331, allocations: 322.8 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.1332, allocations: 23.92 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.1333, allocations: 37.69 kB / 0.5615 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1334, allocations: 61.05 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1334, allocations: 0 / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.1336, allocations: 81.62 kB / 0.5616 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1336, allocations: 9.547 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1336, allocations: 7.938 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1336, allocations: 0 / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.1337, allocations: 8 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1337, allocations: 4 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1338, allocations: 7.984 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1338, allocations: 4 kB / 0.5617 GB, free: 15.55 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 (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.92e-05/0.1338, allocations: 117.8 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1339, allocations: 8.234 kB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1341, allocations: 93.95 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1341, allocations: 3.984 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1341, allocations: 7.938 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1341, allocations: 4 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1346, allocations: 354.5 kB / 0.5622 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1346, allocations: 0 / 0.5622 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.1347, allocations: 15.98 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1347, allocations: 0 / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1347, allocations: 4 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1347, allocations: 3.938 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1347, allocations: 4 kB / 0.5623 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.135, allocations: 187.6 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.135, allocations: 81.06 kB / 0.5625 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.135, allocations: 4 kB / 0.5625 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.1351, allocations: 11.92 kB / 0.5625 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1351, allocations: 4 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1351, allocations: 4 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1352, allocations: 115.2 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1352, allocations: 0 / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1355, allocations: 43.8 kB / 0.5627 GB, free: 14.39 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.002179/0.1377, allocations: 1.097 MB / 0.5638 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1379, allocations: 51.95 kB / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1379, allocations: 0 / 0.5638 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.138, allocations: 27.92 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1384, allocations: 27.86 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1401, allocations: 1.443 MB / 0.5653 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1404, allocations: 0.6885 MB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.1405, allocations: 19.77 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1405, allocations: 27.41 kB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1405, allocations: 0 / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.1601, allocations: 3.323 MB / 0.5693 GB, free: 7.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.129, allocations: 10.11 kB / 0.5693 GB, free: 7.734 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.027469740016386]