Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",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.001254/0.001254, 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.001251/0.001251, 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.35/1.35, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1965/0.1965, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 68.64 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002977/0.1117, allocations: 1.552 MB / 470.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1131, allocations: 1.016 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.1131, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1133, allocations: 27.78 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1135, allocations: 35.8 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1138, allocations: 99.62 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.114, allocations: 51.91 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1141, allocations: 11.98 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.1141, allocations: 23.92 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/0.1148, allocations: 31.84 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1149, allocations: 4 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.115, allocations: 47.92 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.115, allocations: 15.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1151, allocations: 19.88 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1153, allocations: 84.05 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1153, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1153, allocations: 0 / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1154, allocations: 0 / 472.4 MB, free: 11.25 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.0005956/0.116, allocations: 390.2 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.116, allocations: 12.03 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1161, allocations: 30.75 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1162, allocations: 8.844 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1164, allocations: 192.1 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1164, allocations: 384 / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1165, allocations: 384 / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1167, allocations: 79.25 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1167, allocations: 4 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1167, allocations: 0 / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.1167, allocations: 0 / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.1168, allocations: 19.98 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1172, allocations: 276.8 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1174, allocations: 46.56 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1175, allocations: 12.95 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1175, allocations: 3.984 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1175, allocations: 34.56 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1176, allocations: 0 / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005997/0.1182, allocations: 141.3 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1182, allocations: 77.11 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1184, allocations: 141 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1184, allocations: 25.7 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.1185, allocations: 96.08 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1185, allocations: 11.8 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1185, allocations: 17.72 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1187, allocations: 326.7 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.1187, allocations: 24.05 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1188, allocations: 37.69 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1189, allocations: 36.84 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1189, allocations: 4 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.1191, allocations: 85.59 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1192, allocations: 4 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1192, allocations: 0 / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1192, allocations: 4 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.1192, allocations: 11.94 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1193, allocations: 3.984 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1193, allocations: 7.984 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1193, allocations: 3.938 kB / 474.5 MB, free: 8.879 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 7.605e-05/0.1194, allocations: 113.8 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1194, allocations: 11.91 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1197, allocations: 89.62 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1197, allocations: 0 / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1197, allocations: 7.875 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1197, allocations: 3.984 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.1201, allocations: 342.8 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1201, allocations: 4 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1202, allocations: 15.98 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1202, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1202, allocations: 4 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1202, allocations: 3.938 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1202, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1204, allocations: 179.4 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1205, allocations: 89 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1205, allocations: 0 / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1206, allocations: 7.938 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1206, allocations: 7.984 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1206, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.1207, allocations: 103.3 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.121, allocations: 24 kB / 475.5 MB, free: 7.785 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.001475/0.1225, allocations: 1.047 MB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1227, allocations: 43.97 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1227, allocations: 0 / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.1228, allocations: 27.92 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1231, allocations: 19.92 kB / 476.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1246, allocations: 1.376 MB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1249, allocations: 0.692 MB / 478.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.125, allocations: 8.062 kB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.125, allocations: 35.36 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.125, allocations: 0 / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.149, allocations: 2.66 MB / 481.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.653, allocations: 7.922 kB / 481.4 MB, free: 1.98 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches