Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0007524/0.0007524, allocations: 96.2 kB / 17.35 MB, free: 6.371 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.0007976/0.0007977, allocations: 172.2 kB / 18.25 MB, free: 5.523 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.314/1.314, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.24 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1123, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001947/0.1142, allocations: 1.274 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.115, allocations: 403.4 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1151, allocations: 0 / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1153, allocations: 19.92 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1155, allocations: 35.91 kB / 474.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1159, allocations: 99.75 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.116, allocations: 59.78 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.1161, allocations: 11.98 kB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1162, allocations: 11.94 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1162, allocations: 23.84 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1163, allocations: 4 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.1163, allocations: 27.92 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1164, allocations: 11.94 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.1165, allocations: 49.5 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1167, allocations: 80.06 kB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1167, allocations: 0 / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1167, allocations: 0 / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1167, allocations: 0 / 474.5 MB, free: 11.15 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.0004318/0.1171, allocations: 371.3 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1172, allocations: 8.031 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1172, allocations: 38.75 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1173, allocations: 12.78 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1174, allocations: 194.3 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1175, allocations: 4.375 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1175, allocations: 4.375 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1176, allocations: 49.62 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1176, allocations: 0 / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1177, allocations: 4 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1177, allocations: 0 / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.1178, allocations: 31.91 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1182, allocations: 292.8 kB / 475.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1184, allocations: 42.66 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.1184, allocations: 24.84 kB / 475.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1185, allocations: 3.984 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1185, allocations: 34.56 kB / 475.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1185, allocations: 0 / 475.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005848/0.1191, allocations: 169.3 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1191, allocations: 51.41 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1193, allocations: 161.8 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1193, allocations: 25.7 kB / 475.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.1194, allocations: 104 kB / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1194, allocations: 15.75 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1194, allocations: 17.72 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1196, allocations: 322.8 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.1197, allocations: 19.98 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1197, allocations: 27.92 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1199, allocations: 65.02 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1199, allocations: 0 / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002099/0.1201, allocations: 97.56 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1201, allocations: 8 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1201, allocations: 4 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1202, allocations: 0 / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1202, allocations: 15.98 kB / 476.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1202, allocations: 0 / 476.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.1203, allocations: 4 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1203, allocations: 7.875 kB / 476.6 MB, free: 8.73 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 0.0001027/0.1204, allocations: 125.8 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1205, allocations: 11.91 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.1207, allocations: 102 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1207, allocations: 3.984 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1208, allocations: 0 / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1208, allocations: 0 / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1212, allocations: 362.7 kB / 477.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1212, allocations: 11.92 kB / 477.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.1213, allocations: 11.94 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1213, allocations: 4 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1213, allocations: 0 / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1213, allocations: 7.938 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1213, allocations: 3.984 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1216, allocations: 195.6 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.1216, allocations: 85 kB / 477.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1216, allocations: 8 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1217, allocations: 11.94 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1217, allocations: 3.984 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1218, allocations: 4 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.1219, allocations: 129.7 kB / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 0 / 477.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1221, allocations: 16 kB / 477.7 MB, free: 7.551 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.001271/0.1234, allocations: 1.015 MB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1236, allocations: 63.91 kB / 478.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1236, allocations: 0 / 478.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.1237, allocations: 35.97 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.124, allocations: 23.86 kB / 478.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1256, allocations: 1.518 MB / 480.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1258, allocations: 0.7004 MB / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.1259, allocations: 11.98 kB / 481.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1259, allocations: 23.42 kB / 481.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.126, allocations: 0 / 481.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.1394, allocations: 2.19 MB / 483.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.1396, allocations: 237 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.915, allocations: 0 / 483.5 MB, free: 1.852 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches