Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.002019/0.002019, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002319/0.002319, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2196/0.2196, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 75.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3425, allocations: 66.09 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003778/0.3463, allocations: 1.649 MB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3475, allocations: 0.5655 MB / 0.5629 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3476, allocations: 0 / 0.5629 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.3482, allocations: 459.1 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.3487, allocations: 291.3 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.3491, allocations: 174.9 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3494, allocations: 183.5 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3495, allocations: 13.83 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3497, allocations: 119.8 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.35, allocations: 247.5 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.35, allocations: 4 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.3501, allocations: 35.92 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3502, allocations: 87.67 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.3503, allocations: 67.25 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.3507, allocations: 286.5 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3507, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3507, allocations: 0 / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3507, allocations: 0 / 0.5647 GB, free: 15.91 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.0008223/0.3515, allocations: 0.5931 MB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3515, allocations: 15.97 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3516, allocations: 38.67 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.3517, allocations: 44.66 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.352, allocations: 250.8 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.352, allocations: 384 / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.352, allocations: 8.375 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3522, allocations: 58.23 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.3522, allocations: 3.938 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3522, allocations: 4 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3522, allocations: 3.938 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3524, allocations: 39.95 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.3529, allocations: 383.7 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3531, allocations: 46.55 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.3532, allocations: 24.94 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3532, allocations: 4 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3532, allocations: 30.56 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3532, allocations: 0 / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009015/0.3541, allocations: 328.6 kB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3542, allocations: 55.34 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.3551, allocations: 0.8738 MB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3551, allocations: 25.7 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3553, allocations: 220 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3554, allocations: 23.8 kB / 0.5677 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3554, allocations: 21.7 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3556, allocations: 366.7 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3557, allocations: 39.97 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3558, allocations: 39.95 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3561, allocations: 84.8 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3561, allocations: 0 / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003356/0.3564, allocations: 169.3 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3564, allocations: 4 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3565, allocations: 3.938 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3565, allocations: 0 / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3566, allocations: 19.98 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3566, allocations: 320 / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.3567, allocations: 15.98 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3567, allocations: 0 / 0.5684 GB, free: 11.91 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.0002199/0.3569, allocations: 225.7 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.357, allocations: 39.72 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.3574, allocations: 185.5 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3574, allocations: 0 / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3574, allocations: 0 / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3574, allocations: 11.92 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.3581, allocations: 489.4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3581, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.3582, allocations: 15.98 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3582, allocations: 4 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3582, allocations: 3.938 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3582, allocations: 3.938 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3582, allocations: 3.984 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.3586, allocations: 259.2 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3586, allocations: 39.72 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3587, allocations: 0 / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3588, allocations: 15.92 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3588, allocations: 3.984 kB / 0.5697 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3588, allocations: 8 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000667/0.3595, allocations: 0.6589 MB / 0.5703 GB, free: 9.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5703 GB, free: 9.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3597, allocations: 24 kB / 0.5704 GB, free: 9.859 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.002223/0.362, allocations: 1.121 MB / 0.5715 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.3623, allocations: 87.92 kB / 0.5715 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3623, allocations: 0 / 0.5715 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3624, allocations: 47.91 kB / 0.5716 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3628, allocations: 30.23 kB / 0.5716 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.3671, allocations: 3.379 MB / 0.5749 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3674, allocations: 224.1 kB / 0.5751 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.3674, allocations: 20.64 kB / 0.5752 GB, free: 4.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3676, allocations: 127.5 kB / 0.5753 GB, free: 4.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3676, allocations: 3.938 kB / 0.5753 GB, free: 4.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.401, allocations: 6.778 MB / 0.5819 GB, free: 14.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 13.58 kB / 0.5819 GB, free: 14.07 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.690846129786223]