Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.001253/0.001253, allocations: 106.1 kB / 16.27 MB, free: 6.41 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.001107/0.001107, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2179/0.2179, allocations: 43.53 MB / 314 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 73.78 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002556/0.1141, allocations: 1.554 MB / 442.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004637/0.1145, allocations: 311.5 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.1146, allocations: 8 kB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.115, allocations: 447.2 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1153, allocations: 247.5 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1156, allocations: 111.7 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1158, allocations: 147.8 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1159, allocations: 12.27 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1159, allocations: 107.7 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1161, allocations: 211.6 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1161, allocations: 0 / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.1162, allocations: 20 kB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.1163, allocations: 75.69 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1163, allocations: 103 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1165, allocations: 243 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1165, allocations: 0 / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1166, allocations: 0 / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1166, allocations: 0 / 444.2 MB, free: 3.23 MB / 318.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.0005143/0.1171, allocations: 0.6336 MB / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1171, allocations: 15.89 kB / 444.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.1172, allocations: 34.69 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1172, allocations: 40.38 kB / 444.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1174, allocations: 300.1 kB / 445.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-06/0.1174, allocations: 384 / 445.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1174, allocations: 4.375 kB / 445.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1175, allocations: 49.62 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1176, allocations: 0 / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1176, allocations: 0 / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1176, allocations: 4 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1177, allocations: 23.97 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.118, allocations: 376.8 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.1181, allocations: 26.56 kB / 445.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1181, allocations: 12.92 kB / 445.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1181, allocations: 4 kB / 445.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.1182, allocations: 38.55 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1182, allocations: 3.938 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002205/0.1184, allocations: 97.06 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1184, allocations: 51.41 kB / 445.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.119, allocations: 0.8613 MB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.119, allocations: 33.83 kB / 446.8 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1191, allocations: 220 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1191, allocations: 15.83 kB / 447 MB, free: 204 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1192, allocations: 13.72 kB / 447 MB, free: 184 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1193, allocations: 362.7 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.1193, allocations: 7.984 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.1194, allocations: 8 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.1195, allocations: 28.84 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1195, allocations: 4 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001381/0.1196, allocations: 85.22 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1196, allocations: 8 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1196, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1197, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.1197, allocations: 7.984 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1197, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1198, allocations: 11.94 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1198, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.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 (2): * Single equations (assignments): 2 * 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.000206/0.12, allocations: 221.6 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.1201, allocations: 39.52 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1203, allocations: 104.6 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1203, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1203, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1203, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1206, allocations: 289.5 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1207, allocations: 4 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.1207, allocations: 4 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1207, allocations: 0 / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1207, allocations: 0 / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1207, allocations: 0 / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1207, allocations: 0 / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.121, allocations: 194.8 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.1211, allocations: 112.6 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1211, allocations: 3.984 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1212, allocations: 0 / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1212, allocations: 4 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1212, allocations: 0 / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000574/0.1218, allocations: 0.6511 MB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1218, allocations: 0 / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1221, allocations: 27.81 kB / 449.2 MB, free: 13.91 MB / 334.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 (2): * Single equations (assignments): 2 * 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.00111/0.1232, allocations: 0.9706 MB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1233, allocations: 27.92 kB / 450.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1233, allocations: 0 / 450.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.1234, allocations: 8 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1238, allocations: 23.98 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.1268, allocations: 3.149 MB / 453.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1272, allocations: 0.8181 MB / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.1273, allocations: 12 kB / 454.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1274, allocations: 111.4 kB / 454.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1274, allocations: 0 / 454.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1514, allocations: 5.559 MB / 459.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.418, allocations: 11.64 kB / 459.8 MB, free: 3.137 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches