Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001579/0.001579, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001543/0.001543, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2417/0.2417, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 87.84 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.376, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003256/0.3793, allocations: 1.593 MB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3804, allocations: 0.5149 MB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.3805, allocations: 3.938 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3807, allocations: 23.84 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.381, allocations: 79.58 kB / 0.5629 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.3813, allocations: 87.75 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3814, allocations: 71.83 kB / 0.563 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3815, allocations: 5.828 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.3816, allocations: 31.78 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.3816, allocations: 23.86 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3817, allocations: 4 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.3817, allocations: 28 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.3818, allocations: 15.92 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3818, allocations: 19.86 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.382, allocations: 79.61 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.382, allocations: 0 / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.382, allocations: 0 / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.382, allocations: 4 kB / 0.5632 GB, free: 1.465 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005668/0.3826, allocations: 309.9 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3826, allocations: 8.031 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.3827, allocations: 30.75 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3827, allocations: 16.88 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3829, allocations: 136.9 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3829, allocations: 4.312 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3829, allocations: 384 / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3831, allocations: 50.19 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3831, allocations: 3.938 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3831, allocations: 4 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3831, allocations: 0 / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.3832, allocations: 27.97 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3836, allocations: 240 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3838, allocations: 46.5 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.3839, allocations: 16.94 kB / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3839, allocations: 0 / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3839, allocations: 34.56 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3839, allocations: 4 kB / 0.5641 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005976/0.3845, allocations: 137.4 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3846, allocations: 51.41 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3848, allocations: 156.9 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3848, allocations: 25.7 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3849, allocations: 96.08 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.385, allocations: 19.84 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.385, allocations: 17.72 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3852, allocations: 330.8 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.3852, allocations: 11.98 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.3853, allocations: 24.05 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3854, allocations: 52.77 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3854, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.3856, allocations: 81.56 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3856, allocations: 8 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3856, allocations: 0 / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3857, allocations: 0 / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.3857, allocations: 15.98 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3857, allocations: 0 / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.3858, allocations: 4 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3858, allocations: 4 kB / 0.5651 GB, free: 15.34 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.0001139/0.3859, allocations: 121.8 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.3859, allocations: 7.953 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3862, allocations: 102.2 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3862, allocations: 0 / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3862, allocations: 4 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3862, allocations: 3.984 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.3867, allocations: 309.6 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3867, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.3868, allocations: 20.23 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3868, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3868, allocations: 8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.3868, allocations: 4 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3868, allocations: 3.938 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.387, allocations: 175.5 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.3871, allocations: 7.953 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3871, allocations: 0 / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3871, allocations: 7.984 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3872, allocations: 3.938 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3872, allocations: 4 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.345e-05/0.3873, allocations: 119.2 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 4 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.3875, allocations: 15.94 kB / 0.566 GB, free: 14.34 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.002057/0.3896, allocations: 1.036 MB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3898, allocations: 43.97 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3898, allocations: 3.938 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.3898, allocations: 27.92 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3902, allocations: 25.95 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3918, allocations: 1.426 MB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.3919, allocations: 87.16 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.3919, allocations: 19.7 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.392, allocations: 19.44 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.392, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4209, allocations: 3.109 MB / 0.5716 GB, free: 8.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.36, allocations: 11.58 kB / 0.5717 GB, free: 8.582 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.636838737409562]