Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 80.06 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002786/0.1058, allocations: 1.614 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.1067, allocations: 0.5494 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1068, allocations: 0 / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.107, allocations: 71.77 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1074, allocations: 107.6 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1077, allocations: 119.2 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1078, allocations: 79.88 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.1079, allocations: 16 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.108, allocations: 43.77 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.1081, allocations: 51.83 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1081, allocations: 8 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1082, allocations: 47.97 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.1083, allocations: 19.92 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1083, allocations: 27.75 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1085, allocations: 108 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1085, allocations: 3.938 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1085, allocations: 0 / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1085, allocations: 0 / 483 MB, free: 2.316 MB / 350.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.0004425/0.109, allocations: 407 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.109, allocations: 19.97 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.1091, allocations: 34.75 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1091, allocations: 12.83 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1093, allocations: 196.8 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-06/0.1093, allocations: 384 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1093, allocations: 12.36 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1094, allocations: 53.62 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1095, allocations: 3.906 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.1095, allocations: 4 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1095, allocations: 0 / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.1096, allocations: 39.89 kB / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.11, allocations: 308.7 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.1101, allocations: 38.56 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.1101, allocations: 20.94 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1102, allocations: 4 kB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1102, allocations: 38.5 kB / 484.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1102, allocations: 0 / 484.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008748/0.1111, allocations: 241 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1111, allocations: 51.41 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1113, allocations: 226.2 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1113, allocations: 25.7 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1114, allocations: 104.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1114, allocations: 31.61 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1115, allocations: 17.72 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1116, allocations: 326.8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.1117, allocations: 31.97 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.1118, allocations: 27.98 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.112, allocations: 85.09 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.112, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002185/0.1122, allocations: 113.5 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1122, allocations: 4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1122, allocations: 4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1122, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.1123, allocations: 19.98 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1124, allocations: 3.938 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.1124, allocations: 7.984 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1124, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.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 (8): * Single equations (assignments): 8 * 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.43e-05/0.1125, allocations: 129.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1126, allocations: 15.75 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.1129, allocations: 131 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1129, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1129, allocations: 7.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1129, allocations: 3.984 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1134, allocations: 427.3 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1134, allocations: 0 / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.1135, allocations: 19.92 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1135, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1135, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1135, allocations: 3.938 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1135, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1138, allocations: 220.2 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1139, allocations: 84.95 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1139, allocations: 11.92 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.114, allocations: 8 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.114, allocations: 3.984 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.114, allocations: 4.422 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1142, allocations: 160.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1142, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1145, allocations: 28 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001542/0.116, allocations: 1.093 MB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.1163, allocations: 79.89 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1163, allocations: 0 / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1164, allocations: 47.97 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1168, allocations: 15 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1185, allocations: 1.705 MB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1188, allocations: 0.708 MB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.1189, allocations: 24.94 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.1189, allocations: 39.42 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.119, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.1388, allocations: 3.071 MB / 493.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.873, allocations: 4.453 kB / 493.5 MB, free: 7.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches