Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.00134/0.00134, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001611/0.001611, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2394/0.2394, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 75.88 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1339, allocations: 65.99 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003068/0.1369, allocations: 1.606 MB / 0.5573 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1381, allocations: 0.5605 MB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.1381, allocations: 4 kB / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1384, allocations: 35.77 kB / 0.5579 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1387, allocations: 71.64 kB / 0.5579 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.139, allocations: 122.8 kB / 0.558 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1391, allocations: 71.77 kB / 0.5581 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1392, allocations: 4 kB / 0.5581 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.1393, allocations: 27.92 kB / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.1394, allocations: 31.83 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1394, allocations: 7.938 kB / 0.5582 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1396, allocations: 99.94 kB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.1396, allocations: 19.86 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.1397, allocations: 27.8 kB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.14, allocations: 143.5 kB / 0.5585 GB, free: 3.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.14, allocations: 4 kB / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.14, allocations: 0 / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.14, allocations: 0 / 0.5585 GB, free: 3.352 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.0006193/0.1406, allocations: 414.7 kB / 0.5589 GB, free: 2.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1406, allocations: 8.031 kB / 0.5589 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1407, allocations: 34.75 kB / 0.5589 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.1407, allocations: 8.891 kB / 0.5589 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1409, allocations: 196.2 kB / 0.5591 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.1409, allocations: 4.312 kB / 0.5591 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.141, allocations: 8.375 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1411, allocations: 63.95 kB / 0.5592 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1411, allocations: 3.938 kB / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1412, allocations: 0 / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1412, allocations: 0 / 0.5592 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.1413, allocations: 27.97 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.1417, allocations: 292.9 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1419, allocations: 54.47 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.1419, allocations: 24.94 kB / 0.5596 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.142, allocations: 3.938 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.142, allocations: 34.56 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.142, allocations: 4 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006649/0.1426, allocations: 185.3 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1427, allocations: 77.11 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1429, allocations: 151.6 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1429, allocations: 33.7 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.143, allocations: 88.12 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.143, allocations: 31.73 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.143, allocations: 25.7 kB / 0.5602 GB, free: 1.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1432, allocations: 318.8 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1433, allocations: 31.97 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.1433, allocations: 45.69 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1435, allocations: 72.84 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1435, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/0.1437, allocations: 113.8 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1438, allocations: 4 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1438, allocations: 0 / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1438, allocations: 4 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1439, allocations: 19.92 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1439, allocations: 4.062 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.1439, allocations: 11.94 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.144, allocations: 7.984 kB / 0.5608 GB, free: 0.7383 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 (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.0001012/0.1441, allocations: 121.8 kB / 0.5609 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1441, allocations: 7.953 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1444, allocations: 110.3 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1444, allocations: 4 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1444, allocations: 0 / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1444, allocations: 0 / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1449, allocations: 402.3 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.145, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.145, allocations: 15.98 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.145, allocations: 0 / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.145, allocations: 4 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.145, allocations: 3.938 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.145, allocations: 4 kB / 0.5614 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1453, allocations: 195.4 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1454, allocations: 89.05 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1454, allocations: 0 / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1455, allocations: 7.938 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1455, allocations: 11.98 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1455, allocations: 0 / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1456, allocations: 120.9 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1456, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1459, allocations: 43.86 kB / 0.5619 GB, free: 15.51 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 (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.002224/0.1481, allocations: 1.12 MB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1484, allocations: 75.88 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1484, allocations: 0 / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.1485, allocations: 35.97 kB / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1488, allocations: 26.42 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1508, allocations: 1.53 MB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1511, allocations: 0.6924 MB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.098e-05/0.1512, allocations: 25.09 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.1513, allocations: 31.42 kB / 0.5653 GB, free: 12.03 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1513, allocations: 0 / 0.5653 GB, free: 12.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1761, allocations: 3.531 MB / 0.5688 GB, free: 8.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.461, allocations: 8 kB / 0.5688 GB, free: 8.512 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.568371333181858]