Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001821/0.001821, 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.002314/0.002314, allocations: 214.6 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2346/0.2346, allocations: 46.93 MB / 360.8 MB, free: 4.254 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 79.86 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3753, allocations: 66.08 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003262/0.3786, allocations: 1.672 MB / 0.5624 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3798, allocations: 0.5889 MB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.3799, allocations: 0 / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.3806, allocations: 463 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.3811, allocations: 291.3 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.3816, allocations: 170.3 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.3819, allocations: 183.6 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.382, allocations: 9.828 kB / 0.564 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3822, allocations: 119.6 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.3825, allocations: 243.5 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3825, allocations: 4 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.3826, allocations: 39.97 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.3827, allocations: 87.69 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3828, allocations: 102.9 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.3832, allocations: 274.6 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3832, allocations: 0 / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3832, allocations: 0 / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3832, allocations: 0 / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008532/0.3841, allocations: 0.5892 MB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3841, allocations: 8.031 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3841, allocations: 38.75 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.3842, allocations: 44.66 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3845, allocations: 258.8 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.3845, allocations: 384 / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3846, allocations: 384 / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3847, allocations: 58.19 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3847, allocations: 3.938 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3847, allocations: 0 / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.3847, allocations: 3.984 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3848, allocations: 35.97 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.3854, allocations: 375.7 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3856, allocations: 46.59 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.3857, allocations: 16.84 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3857, allocations: 0 / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3857, allocations: 42.56 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.3857, allocations: 0 / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006711/0.3864, allocations: 240.7 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3864, allocations: 51.41 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.3874, allocations: 0.8738 MB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3874, allocations: 25.7 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3876, allocations: 232.1 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3876, allocations: 19.78 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.3877, allocations: 21.72 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3879, allocations: 362.7 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.3879, allocations: 23.97 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.388, allocations: 23.92 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3882, allocations: 60.77 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3882, allocations: 0 / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002279/0.3884, allocations: 121.4 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3884, allocations: 8 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3884, allocations: 0 / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3884, allocations: 3.938 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3885, allocations: 11.98 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3885, allocations: 4 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.3886, allocations: 256 / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3886, allocations: 8 kB / 0.5683 GB, free: 12.29 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 (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 0.0002169/0.3888, allocations: 223 kB / 0.5686 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.3889, allocations: 51.67 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.3892, allocations: 137.2 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3892, allocations: 4 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3892, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3892, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.3898, allocations: 449.4 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3898, allocations: 0 / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.3898, allocations: 11.98 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3898, allocations: 0 / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3899, allocations: 0 / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3899, allocations: 7.938 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3899, allocations: 0 / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3902, allocations: 223.2 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3902, allocations: 39.7 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3903, allocations: 4 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.3903, allocations: 7.938 kB / 0.5694 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3904, allocations: 7.984 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3904, allocations: 0 / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006968/0.3911, allocations: 0.6589 MB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3911, allocations: 4 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3913, allocations: 31.89 kB / 0.5701 GB, free: 10.36 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 (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.002097/0.3934, allocations: 1.05 MB / 0.5712 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3937, allocations: 63.83 kB / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3937, allocations: 0 / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.3938, allocations: 23.98 kB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.3942, allocations: 41.59 kB / 0.5713 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.3984, allocations: 3.275 MB / 0.5745 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.399, allocations: 0.8299 MB / 0.5753 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.3991, allocations: 16.91 kB / 0.5753 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3992, allocations: 115.4 kB / 0.5754 GB, free: 4.941 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3992, allocations: 0 / 0.5754 GB, free: 4.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.4363, allocations: 6.28 MB / 0.5815 GB, free: 14.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.71, allocations: 4 kB / 0.5816 GB, free: 14.68 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.0191879970007]