Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001261/0.001261, allocations: 110.3 kB / 21.1 MB, free: 0.7695 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.001392/0.001392, allocations: 209.1 kB / 24.38 MB, free: 4.184 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.463/1.463, allocations: 230.2 MB / 257.7 MB, free: 8.254 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.2485/0.2485, allocations: 46.93 MB / 361.1 MB, free: 4.422 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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 80.14 kB / 0.4963 GB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3773, allocations: 66.05 MB / 0.5608 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003852/0.3811, allocations: 1.721 MB / 0.5625 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3824, allocations: 0.6122 MB / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.3825, allocations: 3.938 kB / 0.5631 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3827, allocations: 23.86 kB / 0.5631 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.3831, allocations: 87.55 kB / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.3836, allocations: 190.4 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3838, allocations: 95.69 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.384, allocations: 21.8 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.384, allocations: 35.86 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3842, allocations: 47.77 kB / 0.5636 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3842, allocations: 4 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.3844, allocations: 99.88 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3845, allocations: 31.91 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.3846, allocations: 39.73 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3849, allocations: 163.4 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3849, allocations: 4 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3849, allocations: 4 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3849, allocations: 0 / 0.5639 GB, free: 1.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008445/0.3858, allocations: 377.3 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.427e-05/0.3859, allocations: 8.031 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3859, allocations: 38.73 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.386, allocations: 12.89 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3862, allocations: 146.3 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3863, allocations: 4.375 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3863, allocations: 4.375 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3867, allocations: 121.6 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3867, allocations: 3.938 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3867, allocations: 0 / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3867, allocations: 0 / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3871, allocations: 79.91 kB / 0.5646 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3879, allocations: 315.8 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.3882, allocations: 78.47 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.3885, allocations: 48.94 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3885, allocations: 3.938 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.3886, allocations: 34.56 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3886, allocations: 0 / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001951/0.3905, allocations: 413 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3906, allocations: 77.11 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3908, allocations: 170.2 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3909, allocations: 25.7 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.391, allocations: 112 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.391, allocations: 31.69 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.3911, allocations: 25.7 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.3913, allocations: 330.8 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.3916, allocations: 71.92 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.392, allocations: 123.3 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.3926, allocations: 173.1 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3926, allocations: 0 / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007219/0.3933, allocations: 205.4 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3933, allocations: 10.41 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3933, allocations: 4 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3933, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3936, allocations: 43.89 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3936, allocations: 3.938 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3938, allocations: 31.92 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3938, allocations: 3.938 kB / 0.5669 GB, free: 14.02 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 (10): * Single equations (assignments): 10 * 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.0001463/0.394, allocations: 129.8 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.394, allocations: 7.953 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.3948, allocations: 222.2 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3948, allocations: 4 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3948, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3948, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3961, allocations: 0.4935 MB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3961, allocations: 0 / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3963, allocations: 39.89 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3963, allocations: 0 / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.3963, allocations: 7.938 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3963, allocations: 4 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3963, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.3972, allocations: 299.3 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.3972, allocations: 19.89 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3972, allocations: 3.938 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3975, allocations: 31.91 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.3975, allocations: 11.98 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3975, allocations: 0 / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3977, allocations: 131.5 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3977, allocations: 0 / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00035/0.398, allocations: 51.86 kB / 0.5683 GB, free: 12.5 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 (9): * Single equations (assignments): 9 * 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.002993/0.401, allocations: 1.225 MB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000763/0.4018, allocations: 175.7 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4018, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.4021, allocations: 87.86 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4025, allocations: 23.98 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.4062, allocations: 1.94 MB / 0.5716 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.4066, allocations: 0.7086 MB / 0.5723 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.4067, allocations: 32.45 kB / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4068, allocations: 39.41 kB / 0.5724 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4068, allocations: 0 / 0.5724 GB, free: 8.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.439, allocations: 4.58 MB / 0.5769 GB, free: 3.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.54, allocations: 3.375 kB / 0.5769 GB, free: 3.73 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.600696753012016]