Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.005622/0.005622, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001272/0.001272, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.394/1.394, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3019/0.3019, allocations: 43.5 MB / 313.5 MB, free: 8.543 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.001373/0.001373, allocations: 63.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002697/0.1128, allocations: 1.61 MB / 441.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005519/0.1134, allocations: 323.6 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.1135, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1137, allocations: 15.92 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1138, allocations: 31.91 kB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.114, allocations: 79.84 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1141, allocations: 55.83 kB / 442 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.1142, allocations: 20.27 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.1143, allocations: 19.86 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.1143, allocations: 19.86 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1143, allocations: 4 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.391e-05/0.1144, allocations: 27.98 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1145, allocations: 15.98 kB / 442.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1145, allocations: 19.81 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1146, allocations: 75.73 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1146, allocations: 0 / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1147, allocations: 4 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1147, allocations: 0 / 442.2 MB, free: 12.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003743/0.115, allocations: 379.2 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1151, allocations: 8.031 kB / 442.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1151, allocations: 34.75 kB / 442.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1152, allocations: 4.844 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1153, allocations: 188.2 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.1153, allocations: 4.375 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1154, allocations: 384 / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1155, allocations: 57.62 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1155, allocations: 0 / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1155, allocations: 7.984 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1155, allocations: 0 / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.1156, allocations: 31.91 kB / 442.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.1159, allocations: 276.8 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1161, allocations: 50.5 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.1162, allocations: 20.94 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1162, allocations: 3.938 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1162, allocations: 30.56 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1162, allocations: 0 / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005002/0.1167, allocations: 153.3 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.1168, allocations: 55.34 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1169, allocations: 141.3 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1169, allocations: 25.7 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1169, allocations: 92.14 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.117, allocations: 27.64 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.117, allocations: 13.72 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.1171, allocations: 326.8 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.1172, allocations: 19.98 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1172, allocations: 19.98 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1174, allocations: 52.83 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1174, allocations: 0 / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001684/0.1176, allocations: 89.59 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1176, allocations: 4 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1176, allocations: 4 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1176, allocations: 0 / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.1177, allocations: 11.98 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1177, allocations: 0 / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.1177, allocations: 7.906 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1177, allocations: 3.938 kB / 444.3 MB, free: 10.07 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 (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 6.879e-05/0.1178, allocations: 117.8 kB / 444.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1178, allocations: 7.984 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1181, allocations: 106.1 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1181, allocations: 0 / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1181, allocations: 0 / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1181, allocations: 0 / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1185, allocations: 358.4 kB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1185, allocations: 4 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1185, allocations: 15.98 kB / 444.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1186, allocations: 0 / 444.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1186, allocations: 3.938 kB / 444.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1186, allocations: 3.938 kB / 444.9 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1186, allocations: 0 / 444.9 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.1188, allocations: 187.4 kB / 445.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1188, allocations: 77.11 kB / 445.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1188, allocations: 4 kB / 445.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.1189, allocations: 7.875 kB / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.119, allocations: 11.92 kB / 445.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.119, allocations: 0 / 445.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.119, allocations: 107.3 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1193, allocations: 19.98 kB / 445.3 MB, free: 8.949 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 (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.001165/0.1204, allocations: 1.018 MB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1206, allocations: 47.95 kB / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1206, allocations: 4 kB / 446.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1207, allocations: 31.92 kB / 446.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.121, allocations: 23.86 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1224, allocations: 1.435 MB / 447.9 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1227, allocations: 0.6927 MB / 448.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.1227, allocations: 16.23 kB / 448.6 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1228, allocations: 23.42 kB / 448.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1228, allocations: 0 / 448.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.1349, allocations: 2.243 MB / 450.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.1352, allocations: 238.7 kB / 451.1 MB, free: 3.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.921, allocations: 0 / 451.1 MB, free: 3.039 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches