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.001796/0.001796, allocations: 114 kB / 20.43 MB, free: 1.457 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.002186/0.002186, allocations: 214 kB / 23.74 MB, free: 4.672 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2404/0.2404, allocations: 46.92 MB / 360.8 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.002304/0.002304, allocations: 83.86 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3624, allocations: 66.09 MB / 0.5608 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003297/0.3657, allocations: 1.613 MB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3668, allocations: 0.5771 MB / 0.5629 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.3669, allocations: 0 / 0.5629 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.3671, allocations: 31.84 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.3674, allocations: 75.62 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3677, allocations: 119 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3679, allocations: 79.77 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.368, allocations: 9.812 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.3681, allocations: 23.94 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.3682, allocations: 31.83 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3682, allocations: 4 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3684, allocations: 99.88 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.3685, allocations: 19.92 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.3685, allocations: 31.8 kB / 0.5634 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.3688, allocations: 143.4 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3688, allocations: 0 / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3688, allocations: 0 / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3688, allocations: 4 kB / 0.5635 GB, free: 1.477 MB / 398.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.0005661/0.3694, allocations: 341.6 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3694, allocations: 8.031 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3695, allocations: 34.75 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3695, allocations: 8.891 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3697, allocations: 138.4 kB / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3697, allocations: 4.375 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3697, allocations: 4.375 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3699, allocations: 71.89 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3699, allocations: 3.938 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3699, allocations: 0 / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3699, allocations: 4 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.913e-05/0.37, allocations: 19.98 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.3705, allocations: 260 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3706, allocations: 58.44 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.3707, allocations: 20.94 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3707, allocations: 0 / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3707, allocations: 34.56 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3707, allocations: 0 / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006539/0.3714, allocations: 189.3 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3714, allocations: 77.11 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3716, allocations: 163.8 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3717, allocations: 25.7 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.3717, allocations: 92.14 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3718, allocations: 23.78 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3718, allocations: 29.72 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3719, allocations: 326.8 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.372, allocations: 27.98 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.3721, allocations: 45.62 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3723, allocations: 77.03 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3723, allocations: 0 / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002167/0.3725, allocations: 109.6 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3725, allocations: 8 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3725, allocations: 0 / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3725, allocations: 0 / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3726, allocations: 15.98 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3727, allocations: 3.938 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.3727, allocations: 7.984 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3727, allocations: 4 kB / 0.5657 GB, free: 15.07 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 9.346e-05/0.3728, allocations: 125.7 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3728, allocations: 11.95 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.3731, allocations: 114.3 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3731, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3732, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3732, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.3737, allocations: 369.4 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3737, allocations: 4 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.3737, allocations: 19.92 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3737, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3737, allocations: 4 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3737, allocations: 7.938 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3737, allocations: 0 / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.374, allocations: 191.8 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.374, allocations: 11.94 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.374, allocations: 0 / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.3741, allocations: 11.92 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3741, allocations: 11.98 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3741, allocations: 3.938 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.579e-05/0.3742, allocations: 117.3 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3742, allocations: 0 / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3745, allocations: 43.88 kB / 0.5667 GB, free: 13.96 MB / 414.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.00223/0.3768, allocations: 1.122 MB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.377, allocations: 75.94 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.377, allocations: 0 / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.3771, allocations: 31.92 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3775, allocations: 31.23 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3793, allocations: 1.519 MB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3796, allocations: 0.7002 MB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.103e-05/0.3797, allocations: 20.64 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.3798, allocations: 35.41 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3798, allocations: 0 / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.4106, allocations: 3.67 MB / 0.5737 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.28, allocations: 12.05 kB / 0.5737 GB, free: 6.781 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.479605806001928]