Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001618/0.001618, allocations: 120.1 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.001633/0.001633, allocations: 218.2 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.483/1.483, allocations: 230.5 MB / 254.7 MB, free: 15.17 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.22/0.22, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 79.88 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 66.04 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002956/0.1301, allocations: 1.599 MB / 0.5577 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1312, allocations: 0.5566 MB / 0.5583 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.1313, allocations: 0 / 0.5583 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1315, allocations: 23.8 kB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1318, allocations: 75.67 kB / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1321, allocations: 114.4 kB / 0.5585 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1322, allocations: 71.77 kB / 0.5586 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1323, allocations: 8 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1324, allocations: 23.91 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.1325, allocations: 23.86 kB / 0.5586 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1325, allocations: 4 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.1325, allocations: 28 kB / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1326, allocations: 15.92 kB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1326, allocations: 35.73 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1328, allocations: 79.66 kB / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1328, allocations: 0 / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1328, allocations: 0 / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1328, allocations: 0 / 0.5588 GB, free: 2.852 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.0005498/0.1334, allocations: 390.9 kB / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1334, allocations: 8.031 kB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.325e-05/0.1334, allocations: 4.125 kB / 0.5591 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1335, allocations: 38.75 kB / 0.5592 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1335, allocations: 4.891 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1337, allocations: 200.2 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.1337, allocations: 4.375 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1338, allocations: 384 / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1339, allocations: 50 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1339, allocations: 0 / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1339, allocations: 0 / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1339, allocations: 4 kB / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.134, allocations: 23.97 kB / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1345, allocations: 288.9 kB / 0.5597 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1347, allocations: 42.59 kB / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1347, allocations: 16.84 kB / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1348, allocations: 0 / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1348, allocations: 38.56 kB / 0.5598 GB, free: 1.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1348, allocations: 0 / 0.5598 GB, free: 1.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006027/0.1354, allocations: 149.4 kB / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1354, allocations: 51.41 kB / 0.56 GB, free: 1.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1356, allocations: 152.9 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1356, allocations: 25.7 kB / 0.5602 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1357, allocations: 104.1 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1357, allocations: 19.86 kB / 0.5603 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.1357, allocations: 17.72 kB / 0.5603 GB, free: 1.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1359, allocations: 326.8 kB / 0.5606 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.136, allocations: 15.98 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.136, allocations: 23.98 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1362, allocations: 56.75 kB / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1362, allocations: 0 / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002268/0.1364, allocations: 89.88 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1364, allocations: 4 kB / 0.5608 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1364, allocations: 0 / 0.5608 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1364, allocations: 0 / 0.5608 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1365, allocations: 15.98 kB / 0.5608 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1365, allocations: 3.938 kB / 0.5608 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.1366, allocations: 15.98 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1366, allocations: 0 / 0.5609 GB, free: 484 kB / 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 9.315e-05/0.1367, allocations: 121.7 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1367, allocations: 7.953 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.1369, allocations: 97.95 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1369, allocations: 3.938 kB / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1369, allocations: 0 / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.137, allocations: 4 kB / 0.5611 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1374, allocations: 358.5 kB / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1374, allocations: 0 / 0.5614 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.1375, allocations: 11.98 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1375, allocations: 0 / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1375, allocations: 0 / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1375, allocations: 4 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1375, allocations: 3.938 kB / 0.5614 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1378, allocations: 191.6 kB / 0.5616 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1378, allocations: 85.06 kB / 0.5617 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1379, allocations: 3.984 kB / 0.5617 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1379, allocations: 8.172 kB / 0.5617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.138, allocations: 3.938 kB / 0.5617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.138, allocations: 8 kB / 0.5617 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1381, allocations: 125.7 kB / 0.5618 GB, free: 15.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1381, allocations: 0 / 0.5618 GB, free: 15.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1383, allocations: 11.94 kB / 0.5619 GB, free: 15.34 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.00194/0.1402, allocations: 1.006 MB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1405, allocations: 63.89 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1405, allocations: 0 / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1406, allocations: 24.11 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1409, allocations: 25.23 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1427, allocations: 1.465 MB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.143, allocations: 0.6963 MB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.1431, allocations: 19.83 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1432, allocations: 19.62 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1432, allocations: 0 / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1607, allocations: 2.613 MB / 0.5676 GB, free: 9.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/7.893, allocations: 15.94 kB / 0.5677 GB, free: 9.449 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 10.950492098985706]