Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001723/0.001723, allocations: 111.9 kB / 20.47 MB, free: 1.137 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.002415/0.002415, allocations: 222.1 kB / 23.78 MB, free: 4.336 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.537/1.537, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.248/0.248, allocations: 46.95 MB / 360.9 MB, free: 3.898 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 80.11 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3277, allocations: 66.08 MB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003748/0.3315, allocations: 1.647 MB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3327, allocations: 0.5382 MB / 0.5629 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3327, allocations: 7.938 kB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.3333, allocations: 451.1 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.3338, allocations: 299.3 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.3342, allocations: 130.9 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3344, allocations: 175.6 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3346, allocations: 9.828 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3347, allocations: 115.8 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.335, allocations: 255.4 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.335, allocations: 4 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3351, allocations: 39.91 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3352, allocations: 83.69 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.3353, allocations: 67.25 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.3357, allocations: 282.5 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3357, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3357, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3357, allocations: 0 / 0.5647 GB, free: 15.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008447/0.3366, allocations: 0.5931 MB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3366, allocations: 12.03 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.3366, allocations: 34.75 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.3367, allocations: 44.59 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.337, allocations: 250.8 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.337, allocations: 4.375 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.337, allocations: 384 / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3372, allocations: 62.22 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3372, allocations: 3.938 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3372, allocations: 4 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3372, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3374, allocations: 35.97 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.3379, allocations: 363.7 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.338, allocations: 42.55 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.3381, allocations: 24.94 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3381, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3382, allocations: 30.56 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3382, allocations: 0 / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009423/0.3391, allocations: 300.9 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3392, allocations: 51.41 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.3401, allocations: 0.8775 MB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3402, allocations: 25.7 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3404, allocations: 220.1 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3404, allocations: 23.81 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3405, allocations: 25.7 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.3407, allocations: 362.7 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3408, allocations: 31.97 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3409, allocations: 32.03 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3412, allocations: 80.8 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3412, allocations: 0 / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003299/0.3415, allocations: 149.3 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3415, allocations: 8 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3415, allocations: 0 / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3415, allocations: 3.938 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3417, allocations: 23.92 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3417, allocations: 4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.3417, allocations: 11.92 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3418, allocations: 4 kB / 0.5683 GB, free: 12.05 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 (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 prepare postOptimizeDAE: time 0.0002174/0.342, allocations: 217.7 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.342, allocations: 43.72 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3424, allocations: 169.8 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3424, allocations: 4 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3424, allocations: 0 / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3424, allocations: 0 / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.3432, allocations: 477.5 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3432, allocations: 0 / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.3432, allocations: 19.98 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3432, allocations: 0 / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.3433, allocations: 0 / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3433, allocations: 11.88 kB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3433, allocations: 0 / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.3436, allocations: 247.2 kB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.3437, allocations: 43.66 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3437, allocations: 0 / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3438, allocations: 15.92 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3439, allocations: 3.984 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3439, allocations: 8 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006734/0.3445, allocations: 0.655 MB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3448, allocations: 28 kB / 0.5702 GB, free: 10.05 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.002193/0.347, allocations: 1.093 MB / 0.5713 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.3473, allocations: 75.92 kB / 0.5714 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3473, allocations: 0 / 0.5714 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3474, allocations: 43.91 kB / 0.5714 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3479, allocations: 35.55 kB / 0.5714 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.352, allocations: 3.331 MB / 0.5747 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3522, allocations: 228.1 kB / 0.5749 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3523, allocations: 16.97 kB / 0.5749 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3524, allocations: 103.4 kB / 0.575 GB, free: 5.145 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3524, allocations: 0 / 0.575 GB, free: 5.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.389, allocations: 6.741 MB / 0.5816 GB, free: 14.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 8.047 kB / 0.5816 GB, free: 14.41 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_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_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.590179622988217]