Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001747/0.001747, 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.002182/0.002182, 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.444/1.444, 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.2335/0.2335, allocations: 46.96 MB / 360.8 MB, free: 3.906 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003277/0.003277, allocations: 79.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3727, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003516/0.3762, allocations: 1.672 MB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3774, allocations: 0.5577 MB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.3775, allocations: 4 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3778, allocations: 59.72 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.3782, allocations: 95.59 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3788, allocations: 182.9 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.379, allocations: 99.69 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3791, allocations: 18.03 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.3792, allocations: 31.86 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3794, allocations: 55.8 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3794, allocations: 4 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3795, allocations: 51.92 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.3796, allocations: 31.86 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.3796, allocations: 31.8 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.3799, allocations: 123.4 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3799, allocations: 4 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3799, allocations: 0 / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3799, allocations: 0 / 0.5636 GB, free: 1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006393/0.3806, allocations: 353.5 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3806, allocations: 12.02 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3807, allocations: 34.75 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.3807, allocations: 16.89 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.381, allocations: 154.9 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.381, allocations: 4.375 kB / 0.5642 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.381, allocations: 4.375 kB / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3812, allocations: 62.23 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3812, allocations: 7.922 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3812, allocations: 0 / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3813, allocations: 4 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3814, allocations: 47.89 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.3819, allocations: 291.8 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3823, allocations: 58.58 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.3823, allocations: 28.97 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3824, allocations: 0 / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3824, allocations: 30.56 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3824, allocations: 0 / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.384, allocations: 429.4 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.384, allocations: 51.41 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3843, allocations: 210.2 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3843, allocations: 25.7 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.3844, allocations: 108.1 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.3844, allocations: 35.69 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.3845, allocations: 25.7 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3846, allocations: 330.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3848, allocations: 52.02 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3849, allocations: 63.91 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.3852, allocations: 120.8 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3852, allocations: 3.938 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003843/0.3856, allocations: 169.5 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3856, allocations: 8 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3857, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3857, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3858, allocations: 31.91 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3858, allocations: 3.938 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.3859, allocations: 15.98 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3859, allocations: 11.98 kB / 0.5663 GB, free: 14.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 (11): * Single equations (assignments): 11 * 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.0001512/0.386, allocations: 129.8 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3861, allocations: 11.91 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.3866, allocations: 191.3 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3866, allocations: 7.938 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3866, allocations: 3.938 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3866, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.3874, allocations: 467.2 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3874, allocations: 3.938 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3875, allocations: 27.92 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3875, allocations: 0 / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3875, allocations: 4 kB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3875, allocations: 0 / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3875, allocations: 0 / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.388, allocations: 289.1 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.388, allocations: 19.83 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3881, allocations: 0 / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3882, allocations: 15.98 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3882, allocations: 7.984 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3882, allocations: 4 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3884, allocations: 156.2 kB / 0.5676 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 4 kB / 0.5676 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3886, allocations: 24 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002516/0.3912, allocations: 1.192 MB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3915, allocations: 123.8 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3915, allocations: 4 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3917, allocations: 67.95 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3921, allocations: 19.98 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3947, allocations: 1.942 MB / 0.5709 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3948, allocations: 104.6 kB / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.3949, allocations: 36.45 kB / 0.571 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.395, allocations: 39.42 kB / 0.5711 GB, free: 9.133 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.395, allocations: 0 / 0.5711 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.4265, allocations: 4.109 MB / 0.5751 GB, free: 5.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 4.062 kB / 0.5751 GB, free: 5.035 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.822105786763132]