Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001168/0.001168, allocations: 108 kB / 17.33 MB, free: 5.996 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.001301/0.001301, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.293/1.293, allocations: 222.9 MB / 241.9 MB, free: 15.35 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.2174/0.2174, allocations: 44.18 MB / 336.2 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 66.36 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003281/0.1087, allocations: 1.641 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.1095, allocations: 411.3 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.1096, allocations: 3.938 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1099, allocations: 79.77 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1101, allocations: 43.89 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1104, allocations: 107.6 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1106, allocations: 79.75 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1107, allocations: 16.17 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.1108, allocations: 35.84 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1109, allocations: 55.88 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1109, allocations: 0 / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.111, allocations: 47.92 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1111, allocations: 15.98 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.1111, allocations: 31.75 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1114, allocations: 103.9 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1114, allocations: 4 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1114, allocations: 0 / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1114, allocations: 3.984 kB / 471.5 MB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005221/0.1119, allocations: 403 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.112, allocations: 12.03 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.112, allocations: 30.75 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1121, allocations: 8.844 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1123, allocations: 200.1 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1123, allocations: 384 / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.1123, allocations: 16.03 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1125, allocations: 57.59 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1125, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1125, allocations: 8 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1125, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1126, allocations: 23.98 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1131, allocations: 296.8 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1132, allocations: 50.5 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1133, allocations: 24.94 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1133, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1133, allocations: 30.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1133, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009249/0.1143, allocations: 241.4 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1143, allocations: 55.34 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1145, allocations: 206.2 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1146, allocations: 25.7 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1146, allocations: 112 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1147, allocations: 19.66 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1147, allocations: 25.7 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1149, allocations: 326.8 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.115, allocations: 27.98 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1151, allocations: 31.91 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1152, allocations: 68.83 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1152, allocations: 0 / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.1155, allocations: 125.3 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1155, allocations: 8 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1155, allocations: 0 / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1155, allocations: 4 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.1156, allocations: 15.98 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1156, allocations: 7.875 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1157, allocations: 7.984 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1157, allocations: 4 kB / 473.9 MB, free: 9.273 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 (8): * Single equations (assignments): 8 * 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.0001009/0.1158, allocations: 125.8 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1159, allocations: 19.91 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.1161, allocations: 122.7 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1162, allocations: 0 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1162, allocations: 7.938 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1162, allocations: 0 / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1167, allocations: 423.2 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1167, allocations: 7.938 kB / 474.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1168, allocations: 19.92 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1168, allocations: 0 / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1168, allocations: 4 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1169, allocations: 0 / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1169, allocations: 0 / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1172, allocations: 208.3 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1172, allocations: 92.94 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1172, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1173, allocations: 4 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1174, allocations: 15.92 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1174, allocations: 0 / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1175, allocations: 155.2 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1176, allocations: 4 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1178, allocations: 24 kB / 475.1 MB, free: 7.953 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 (8): * Single equations (assignments): 8 * 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.001655/0.1195, allocations: 1.096 MB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1198, allocations: 79.88 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1198, allocations: 0 / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/0.1199, allocations: 43.92 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.1203, allocations: 23.92 kB / 476.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1223, allocations: 1.688 MB / 478 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1226, allocations: 0.7119 MB / 478.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.1227, allocations: 12.66 kB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.1228, allocations: 39.42 kB / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1228, allocations: 0 / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.1373, allocations: 2.894 MB / 481.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.1376, allocations: 239.3 kB / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.173, allocations: 3.938 kB / 481.9 MB, free: 1.234 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches