Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001175/0.001175, allocations: 104 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.001704/0.001704, allocations: 192.1 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.461/1.461, 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.2169/0.2169, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.06 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1156, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002987/0.1186, allocations: 1.611 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.1193, allocations: 415.2 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.1194, allocations: 4 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1196, allocations: 35.77 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1198, allocations: 39.84 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.12, allocations: 95.69 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1202, allocations: 75.83 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1203, allocations: 20.27 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.1204, allocations: 31.92 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.1205, allocations: 39.77 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1205, allocations: 4 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1206, allocations: 43.98 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1207, allocations: 19.92 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1207, allocations: 35.73 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1209, allocations: 95.7 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1209, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1209, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1209, allocations: 0 / 471.9 MB, free: 11.71 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005096/0.1215, allocations: 406 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1215, allocations: 12.02 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.1216, allocations: 38.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.1216, allocations: 12.78 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1218, allocations: 196.1 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1218, allocations: 4.375 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1219, allocations: 8.375 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.122, allocations: 69.61 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1221, allocations: 0 / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1221, allocations: 4 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1221, allocations: 0 / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1222, allocations: 47.89 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1226, allocations: 312.7 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1228, allocations: 70.53 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1228, allocations: 24.8 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1229, allocations: 3.984 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1229, allocations: 34.56 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1229, allocations: 0 / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009997/0.1239, allocations: 293.6 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.124, allocations: 55.41 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1241, allocations: 152 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1242, allocations: 29.7 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.1242, allocations: 104 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1243, allocations: 35.45 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.1243, allocations: 33.7 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1245, allocations: 322.8 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.1246, allocations: 39.98 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.1246, allocations: 47.28 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1248, allocations: 84.83 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1248, allocations: 4 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.1251, allocations: 133.5 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1251, allocations: 8 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1251, allocations: 3.938 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1251, allocations: 0 / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1253, allocations: 31.92 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1253, allocations: 112 / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.1253, allocations: 7.938 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1253, allocations: 7.984 kB / 474.5 MB, free: 8.898 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 (13): * Single equations (assignments): 13 * 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.236e-05/0.1254, allocations: 125.8 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1255, allocations: 7.906 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.1258, allocations: 158.3 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1258, allocations: 4 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1258, allocations: 3.938 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1258, allocations: 0 / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.1264, allocations: 467.1 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1264, allocations: 0 / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.1265, allocations: 23.98 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1265, allocations: 0 / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1265, allocations: 8 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1265, allocations: 3.938 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1265, allocations: 4.031 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1268, allocations: 246.4 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.1268, allocations: 81.02 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1268, allocations: 4 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1269, allocations: 4 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.127, allocations: 15.98 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.127, allocations: 8 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.136e-05/0.1271, allocations: 123.2 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1271, allocations: 0 / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1273, allocations: 20 kB / 475.8 MB, free: 7.504 MB / 350.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 (13): * Single equations (assignments): 13 * 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.001412/0.1287, allocations: 1.127 MB / 476.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.129, allocations: 103.9 kB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.129, allocations: 0 / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1291, allocations: 55.91 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1295, allocations: 18.17 kB / 477.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1312, allocations: 1.645 MB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1315, allocations: 0.7002 MB / 479.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.1316, allocations: 28.47 kB / 479.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1317, allocations: 35.42 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1317, allocations: 0 / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1507, allocations: 3.011 MB / 482.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.611, allocations: 11.3 kB / 482.5 MB, free: 0.8945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches