Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",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.0007663/0.000766, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 181.7 kB / 16.91 MB, free: 6.914 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.54/1.54, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3871/0.3871, allocations: 43.57 MB / 315 MB, free: 8.742 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.0005265/0.0005266, allocations: 12.42 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001897/0.1145, allocations: 1.333 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.1151, allocations: 339.7 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.1152, allocations: 4 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1154, allocations: 47.86 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1156, allocations: 47.89 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1159, allocations: 147.8 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.116, allocations: 75.75 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.1161, allocations: 24.19 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.1162, allocations: 19.92 kB / 445.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1163, allocations: 47.77 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1163, allocations: 8 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.688e-05/0.1164, allocations: 31.98 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.1164, allocations: 19.92 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.1165, allocations: 61.38 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1166, allocations: 83.7 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1166, allocations: 0 / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1166, allocations: 0 / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1167, allocations: 0 / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004476/0.1171, allocations: 407.1 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1171, allocations: 8.031 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1172, allocations: 38.75 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.1172, allocations: 8.844 kB / 446.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1174, allocations: 200.2 kB / 446.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1174, allocations: 384 / 446.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1174, allocations: 4.375 kB / 446.5 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1176, allocations: 73.53 kB / 446.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1176, allocations: 4 kB / 446.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1176, allocations: 4 kB / 446.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1177, allocations: 0 / 446.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1178, allocations: 43.97 kB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.1182, allocations: 316.8 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1184, allocations: 54.48 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.1185, allocations: 32.94 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1185, allocations: 0 / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1185, allocations: 38.5 kB / 447 MB, free: 8.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.1185, allocations: 3.984 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007792/0.1193, allocations: 269.2 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1193, allocations: 55.41 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1195, allocations: 190.1 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1195, allocations: 29.7 kB / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.1196, allocations: 104.1 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1196, allocations: 19.72 kB / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1197, allocations: 13.7 kB / 447.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1198, allocations: 322.8 kB / 448 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1199, allocations: 47.95 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.12, allocations: 47.97 kB / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1203, allocations: 104.7 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1203, allocations: 0 / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003111/0.1206, allocations: 145.5 kB / 448.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1206, allocations: 8 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1207, allocations: 4 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1207, allocations: 3.938 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1208, allocations: 19.98 kB / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1208, allocations: 4 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.1209, allocations: 15.92 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1209, allocations: 4 kB / 448.4 MB, free: 7.453 MB / 382.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 (7): * Single equations (assignments): 7 * 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.081e-05/0.121, allocations: 133.8 kB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.121, allocations: 11.81 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.1214, allocations: 154.3 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1214, allocations: 0 / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1214, allocations: 4 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1214, allocations: 3.938 kB / 448.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.1219, allocations: 426.4 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1219, allocations: 0 / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.122, allocations: 23.98 kB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.122, allocations: 0 / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1221, allocations: 7.938 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1221, allocations: 7.984 kB / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1221, allocations: 0 / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1224, allocations: 239.8 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1225, allocations: 89 kB / 449.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1225, allocations: 3.938 kB / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.1226, allocations: 19.98 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1226, allocations: 7.984 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1226, allocations: 4 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1227, allocations: 148.1 kB / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.123, allocations: 19.89 kB / 449.7 MB, free: 6.074 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001369/0.1244, allocations: 1.078 MB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1247, allocations: 111.9 kB / 450.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1247, allocations: 0 / 450.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1248, allocations: 55.97 kB / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1251, allocations: 15.98 kB / 450.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1271, allocations: 1.762 MB / 452.7 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1274, allocations: 0.7004 MB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.691e-05/0.1274, allocations: 32.88 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.1275, allocations: 35.42 kB / 453.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1275, allocations: 0 / 453.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/0.3308, allocations: 2.541 MB / 456 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.331, allocations: 237.5 kB / 456.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.165, allocations: 0 / 456.2 MB, free: 45.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches