Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001884/0.001884, allocations: 110 kB / 20.43 MB, free: 1.453 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.002135/0.002135, allocations: 211.1 kB / 23.74 MB, free: 4.66 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2383/0.2383, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 83.84 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3688, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003132/0.3719, allocations: 1.613 MB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3738, allocations: 1.27 MB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.3739, allocations: 0 / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.374, allocations: 23.86 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.3742, allocations: 87.61 kB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3745, allocations: 107.7 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3746, allocations: 75.77 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.3747, allocations: 9.828 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.3748, allocations: 27.91 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3749, allocations: 39.83 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3749, allocations: 4 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.375, allocations: 91.89 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.3751, allocations: 23.91 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3751, allocations: 19.88 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3753, allocations: 143.5 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3753, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3753, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3753, allocations: 4 kB / 0.5642 GB, free: 0.7617 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.000405/0.3757, allocations: 329.6 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3758, allocations: 12.03 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.3758, allocations: 30.75 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.3758, allocations: 12.89 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.376, allocations: 134.4 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.376, allocations: 4.375 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.376, allocations: 384 / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3762, allocations: 71.95 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3762, allocations: 3.938 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3762, allocations: 4 kB / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3762, allocations: 3.984 kB / 0.5648 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.3763, allocations: 23.92 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3767, allocations: 256 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3769, allocations: 42.56 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.377, allocations: 24.88 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.377, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.377, allocations: 34.56 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.377, allocations: 0 / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007131/0.3777, allocations: 153.4 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.3778, allocations: 77.11 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.378, allocations: 145.8 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.971e-05/0.3781, allocations: 29.64 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.3782, allocations: 100.1 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3782, allocations: 19.84 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3783, allocations: 17.72 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.3785, allocations: 326.8 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.3786, allocations: 19.98 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3787, allocations: 33.7 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3789, allocations: 52.83 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3789, allocations: 0 / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002818/0.3792, allocations: 93.58 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3792, allocations: 6.344 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3792, allocations: 4 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.3793, allocations: 3.938 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.3793, allocations: 11.98 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3793, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.3794, allocations: 4 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3794, allocations: 4 kB / 0.5662 GB, free: 14.5 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.0001196/0.3795, allocations: 127.1 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3796, allocations: 7.953 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3799, allocations: 94.31 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3799, allocations: 7.984 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3799, allocations: 0 / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3799, allocations: 4 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3805, allocations: 329.6 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3806, allocations: 3.984 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.3806, allocations: 11.94 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3806, allocations: 0 / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3806, allocations: 4 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3806, allocations: 0 / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3806, allocations: 3.938 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.381, allocations: 187.5 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.381, allocations: 7.938 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.381, allocations: 4 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3812, allocations: 0 / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.3812, allocations: 11.92 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3812, allocations: 0 / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.3813, allocations: 111.3 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3813, allocations: 0 / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.3819, allocations: 43.86 kB / 0.5671 GB, free: 13.47 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.003339/0.3852, allocations: 1.116 MB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3855, allocations: 47.97 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3855, allocations: 0 / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3856, allocations: 35.91 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.3862, allocations: 19.31 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3888, allocations: 1.444 MB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3892, allocations: 0.6963 MB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3893, allocations: 23.98 kB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.3894, allocations: 31.41 kB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3894, allocations: 3.938 kB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.4234, allocations: 3.395 MB / 0.5738 GB, free: 6.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.25, allocations: 3.375 kB / 0.5738 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.436415315001796]