Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002598/0.002598, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.665/1.665, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.291/0.291, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 63.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3555, allocations: 66.05 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003497/0.359, allocations: 1.649 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3602, allocations: 0.5583 MB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3603, allocations: 0 / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.3609, allocations: 463.1 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.3614, allocations: 295.3 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.362, allocations: 178.9 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3623, allocations: 179.6 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3624, allocations: 13.81 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3626, allocations: 111.8 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.363, allocations: 255.4 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.3631, allocations: 4 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3632, allocations: 39.97 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3634, allocations: 87.69 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3635, allocations: 67.25 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.364, allocations: 282.5 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.364, allocations: 0 / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.364, allocations: 0 / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.364, allocations: 0 / 0.5647 GB, free: 68 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.001166/0.3652, allocations: 0.5971 MB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3652, allocations: 12.03 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3653, allocations: 30.75 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3654, allocations: 48.59 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.3658, allocations: 254.8 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3658, allocations: 384 / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.3658, allocations: 4.375 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.3661, allocations: 65.59 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3661, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3661, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.3661, allocations: 4 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3663, allocations: 39.91 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.3671, allocations: 383.8 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3673, allocations: 42.55 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3675, allocations: 24.94 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.3675, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.3675, allocations: 38.5 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3675, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001314/0.3688, allocations: 324.8 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3689, allocations: 51.41 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.3704, allocations: 0.8776 MB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3704, allocations: 29.64 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3707, allocations: 216 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.3707, allocations: 27.78 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.3708, allocations: 21.72 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000282/0.3711, allocations: 366.8 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.3713, allocations: 36.03 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3715, allocations: 35.97 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.3719, allocations: 92.78 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3719, allocations: 0 / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005047/0.3724, allocations: 161.2 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3724, allocations: 8 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3724, allocations: 48 / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3724, allocations: 3.984 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3726, allocations: 27.97 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3726, allocations: 320 / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3728, allocations: 15.92 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3728, allocations: 8 kB / 0.5684 GB, free: 12.06 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.0003277/0.3731, allocations: 213.7 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3732, allocations: 43.72 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.3739, allocations: 189.4 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3739, allocations: 0 / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3739, allocations: 0 / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3739, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.375, allocations: 489.5 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.375, allocations: 0 / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.3751, allocations: 19.92 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3751, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3751, allocations: 7.938 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3751, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3752, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.3757, allocations: 263.1 kB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.3758, allocations: 39.7 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.3759, allocations: 7.938 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3761, allocations: 11.98 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.3761, allocations: 0 / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3761, allocations: 4 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.3772, allocations: 0.6589 MB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3772, allocations: 0 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.3777, allocations: 28 kB / 0.5703 GB, free: 10.02 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.003331/0.381, allocations: 1.136 MB / 0.5714 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.3815, allocations: 87.88 kB / 0.5715 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3815, allocations: 4 kB / 0.5715 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3817, allocations: 47.95 kB / 0.5715 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.3824, allocations: 18.31 kB / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.3888, allocations: 3.39 MB / 0.5748 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3892, allocations: 224.1 kB / 0.5751 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3893, allocations: 20.64 kB / 0.5751 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.3896, allocations: 123.4 kB / 0.5752 GB, free: 5.027 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3896, allocations: 3.938 kB / 0.5752 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.4255, allocations: 6.777 MB / 0.5818 GB, free: 14.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 3.125 kB / 0.5818 GB, free: 14.3 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.476820552255958]