Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 44.9 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003155/0.3902, allocations: 1.607 MB / 0.5586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3913, allocations: 0.5503 MB / 0.5591 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3914, allocations: 0 / 0.5591 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3916, allocations: 23.86 kB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3918, allocations: 75.62 kB / 0.5592 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3921, allocations: 103.6 kB / 0.5593 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3923, allocations: 63.78 kB / 0.5594 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3924, allocations: 17.8 kB / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.3925, allocations: 19.94 kB / 0.5594 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.3925, allocations: 19.86 kB / 0.5595 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3925, allocations: 4 kB / 0.5595 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.3926, allocations: 35.97 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.3927, allocations: 11.94 kB / 0.5595 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.3927, allocations: 31.8 kB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3929, allocations: 95.47 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3929, allocations: 0 / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3929, allocations: 0 / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3929, allocations: 0 / 0.5596 GB, free: 5.121 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.0004701/0.3934, allocations: 313.8 kB / 0.5599 GB, free: 4.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3934, allocations: 8.031 kB / 0.5599 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.3935, allocations: 34.75 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3935, allocations: 8.891 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3937, allocations: 136.7 kB / 0.5601 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3937, allocations: 4.375 kB / 0.5601 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3937, allocations: 4.359 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3938, allocations: 53.56 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3938, allocations: 0 / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.3938, allocations: 0 / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.3939, allocations: 0 / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.3939, allocations: 27.97 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.3943, allocations: 251.9 kB / 0.5604 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3945, allocations: 46.5 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.3945, allocations: 8.859 kB / 0.5605 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.3946, allocations: 0 / 0.5605 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3946, allocations: 42.64 kB / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3946, allocations: 0 / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000562/0.3951, allocations: 149.3 kB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3952, allocations: 55.34 kB / 0.5607 GB, free: 3.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3954, allocations: 163.4 kB / 0.5609 GB, free: 3.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3954, allocations: 25.7 kB / 0.5609 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.3954, allocations: 100.1 kB / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3955, allocations: 19.8 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3955, allocations: 17.72 kB / 0.561 GB, free: 3.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3956, allocations: 326.8 kB / 0.5613 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.3957, allocations: 15.98 kB / 0.5614 GB, free: 3.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.3958, allocations: 19.98 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3959, allocations: 44.83 kB / 0.5614 GB, free: 3.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3959, allocations: 0 / 0.5614 GB, free: 3.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.3961, allocations: 85.81 kB / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3961, allocations: 4 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3961, allocations: 0 / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3961, allocations: 0 / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.3962, allocations: 23.98 kB / 0.5615 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3962, allocations: 3.938 kB / 0.5615 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.3962, allocations: 4 kB / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3963, allocations: 3.984 kB / 0.5615 GB, free: 2.969 MB / 398.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 9.304e-05/0.3964, allocations: 121.8 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3964, allocations: 7.953 kB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3966, allocations: 94 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3966, allocations: 4 kB / 0.5618 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3966, allocations: 3.938 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3966, allocations: 0 / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.3971, allocations: 309.6 kB / 0.5621 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3971, allocations: 4 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3971, allocations: 19.92 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3971, allocations: 3.938 kB / 0.5621 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3971, allocations: 4 kB / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3971, allocations: 0 / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3971, allocations: 0 / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3974, allocations: 175.5 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3974, allocations: 11.94 kB / 0.5623 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3974, allocations: 3.938 kB / 0.5623 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.3975, allocations: 7.938 kB / 0.5623 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.3975, allocations: 3.984 kB / 0.5623 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3975, allocations: 4.469 kB / 0.5623 GB, free: 2.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3976, allocations: 125.7 kB / 0.5624 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3976, allocations: 0 / 0.5624 GB, free: 1.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3979, allocations: 19.95 kB / 0.5624 GB, free: 1.973 MB / 398.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.001976/0.3998, allocations: 1.029 MB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4, allocations: 39.97 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4001, allocations: 11.94 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.4001, allocations: 15.98 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4005, allocations: 23.36 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4023, allocations: 1.473 MB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.4027, allocations: 0.7001 MB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.4028, allocations: 11.77 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.4028, allocations: 19.44 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4028, allocations: 0 / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.4329, allocations: 2.755 MB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.4, allocations: 4.062 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.74494020799466]