Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.2 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002996/0.113, allocations: 1.549 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.1138, allocations: 403.2 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.1138, allocations: 4 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1141, allocations: 19.86 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1143, allocations: 47.77 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1146, allocations: 78.53 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1147, allocations: 63.77 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1149, allocations: 12 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.1149, allocations: 23.92 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.4e-05/0.115, allocations: 19.86 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.115, allocations: 4 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.1151, allocations: 27.98 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1152, allocations: 15.92 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1152, allocations: 19.81 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1154, allocations: 84.06 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1154, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1154, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1154, allocations: 0 / 471.7 MB, free: 11.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000539/0.116, allocations: 393.9 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.116, allocations: 16.02 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1161, allocations: 30.75 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1161, allocations: 8.844 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1163, allocations: 184.2 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1163, allocations: 384 / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1163, allocations: 4.375 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1165, allocations: 57.61 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1165, allocations: 7.938 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1165, allocations: 7.984 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1165, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.1166, allocations: 23.92 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.117, allocations: 276.8 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1172, allocations: 38.56 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1172, allocations: 28.88 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1173, allocations: 0 / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1173, allocations: 30.56 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1173, allocations: 0 / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000548/0.1178, allocations: 137.3 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1179, allocations: 55.41 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1181, allocations: 165.8 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1181, allocations: 25.7 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.1181, allocations: 96.12 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1182, allocations: 23.66 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1182, allocations: 13.72 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1184, allocations: 322.8 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1184, allocations: 24.05 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.1185, allocations: 23.98 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1187, allocations: 40.83 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1187, allocations: 4 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.1189, allocations: 81.52 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1189, allocations: 4 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1189, allocations: 7.984 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1189, allocations: 4 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.119, allocations: 11.98 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.119, allocations: 0 / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.1191, allocations: 4 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1191, allocations: 3.938 kB / 473.8 MB, free: 9.559 MB / 350.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.917e-05/0.1192, allocations: 121.8 kB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1192, allocations: 7.906 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1195, allocations: 97.91 kB / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1195, allocations: 0 / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1195, allocations: 3.938 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1195, allocations: 3.938 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.1199, allocations: 346.5 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1199, allocations: 320 / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.12, allocations: 15.98 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.12, allocations: 7.938 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1201, allocations: 4 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1201, allocations: 3.938 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1201, allocations: 4 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1203, allocations: 175.4 kB / 474.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1204, allocations: 81.02 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1204, allocations: 0 / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1205, allocations: 11.94 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1205, allocations: 7.984 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1205, allocations: 0 / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.59e-05/0.1206, allocations: 133.8 kB / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1206, allocations: 0 / 474.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1209, allocations: 12 kB / 474.8 MB, free: 8.438 MB / 350.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.001305/0.1222, allocations: 1.009 MB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1224, allocations: 51.91 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1224, allocations: 4 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.1225, allocations: 23.92 kB / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1229, allocations: 27.55 kB / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1244, allocations: 1.454 MB / 477.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1247, allocations: 0.6963 MB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.1248, allocations: 8.062 kB / 478.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.1248, allocations: 27.42 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of SimCode: time 1.913e-06/0.1248, allocations: 0 / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.1434, allocations: 2.487 MB / 480.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.597, allocations: 15.11 kB / 480.6 MB, free: 2.734 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches