Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001389/0.001389, allocations: 109 kB / 21.1 MB, free: 0.7695 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.00154/0.00154, allocations: 205.4 kB / 24.38 MB, free: 4.188 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.501/1.501, allocations: 230.2 MB / 257.7 MB, free: 8.273 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.2208/0.2208, allocations: 46.88 MB / 361 MB, free: 4.477 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.88 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 66.03 MB / 0.5607 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003382/0.3447, allocations: 1.615 MB / 0.5622 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.346, allocations: 0.5731 MB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.346, allocations: 0 / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.3463, allocations: 27.86 kB / 0.5628 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.3466, allocations: 79.62 kB / 0.5629 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.3469, allocations: 83.77 kB / 0.563 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.3471, allocations: 83.69 kB / 0.5631 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3472, allocations: 13.81 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.3473, allocations: 31.92 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.3474, allocations: 31.84 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3474, allocations: 4 kB / 0.5631 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3476, allocations: 99.88 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.3476, allocations: 19.86 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.3477, allocations: 23.81 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3479, allocations: 151.5 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3479, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3479, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3479, allocations: 0 / 0.5634 GB, free: 1.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005582/0.3485, allocations: 422.7 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3485, allocations: 11.97 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.3486, allocations: 30.75 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3486, allocations: 8.891 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3488, allocations: 204.2 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-06/0.3488, allocations: 384 / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3489, allocations: 4.375 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.349, allocations: 67.95 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.349, allocations: 3.938 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3491, allocations: 8 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3491, allocations: 3.984 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.3492, allocations: 31.91 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3496, allocations: 292.9 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3497, allocations: 62.44 kB / 0.5645 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.3498, allocations: 24.97 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3498, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3499, allocations: 38.55 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.3499, allocations: 4 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006515/0.3505, allocations: 189.3 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.3506, allocations: 77.11 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3507, allocations: 156.9 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3508, allocations: 25.7 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3508, allocations: 96.09 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3509, allocations: 27.78 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.3509, allocations: 21.72 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3511, allocations: 326.8 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.3512, allocations: 35.97 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.3512, allocations: 41.7 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3514, allocations: 80.88 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3514, allocations: 0 / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002307/0.3517, allocations: 113.5 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3517, allocations: 10.19 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3517, allocations: 4 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3517, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3518, allocations: 23.98 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3518, allocations: 0 / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3519, allocations: 11.92 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3519, allocations: 0 / 0.5658 GB, free: 15.21 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 (9): * Single equations (assignments): 9 * 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.389e-05/0.352, allocations: 117.8 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.352, allocations: 15.95 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3523, allocations: 118.4 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3523, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3523, allocations: 384 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3523, allocations: 3.984 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.3528, allocations: 402.3 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3528, allocations: 4 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3529, allocations: 19.98 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3529, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.3529, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3529, allocations: 3.938 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3529, allocations: 0 / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3532, allocations: 203.4 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3533, allocations: 89.06 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3533, allocations: 4 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.3534, allocations: 11.92 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3534, allocations: 4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3534, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3535, allocations: 125.5 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 96 / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.3538, allocations: 47.8 kB / 0.5669 GB, free: 13.95 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 (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 Backend phase and start with SimCode phase: time 0.00224/0.356, allocations: 1.123 MB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.3563, allocations: 63.95 kB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3563, allocations: 0 / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3564, allocations: 47.91 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3568, allocations: 11.94 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3588, allocations: 1.561 MB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3592, allocations: 0.6967 MB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.3593, allocations: 28.5 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.3594, allocations: 35.41 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3594, allocations: 0 / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.384, allocations: 3.613 MB / 0.5739 GB, free: 6.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.546, allocations: 20.64 kB / 0.5739 GB, free: 6.758 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.528262146981433]