Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.0009602/0.0009603, allocations: 97.8 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.001076/0.001076, allocations: 182.3 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.679/1.679, allocations: 205.4 MB / 223.1 MB, free: 5.492 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.4022/0.4022, allocations: 43.58 MB / 315 MB, free: 9.016 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.0005504/0.0005505, allocations: 12 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001854/0.1162, allocations: 1.279 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1174, allocations: 0.9104 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1175, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1177, allocations: 15.92 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1179, allocations: 39.84 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1181, allocations: 67.86 kB / 445.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1182, allocations: 47.91 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.1183, allocations: 12.27 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.1183, allocations: 31.84 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1184, allocations: 23.86 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1185, allocations: 0 / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.1186, allocations: 51.91 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1186, allocations: 3.984 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.1187, allocations: 41.58 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1188, allocations: 87.7 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1188, allocations: 3.984 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1188, allocations: 0 / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.574e-06/0.1188, allocations: 0 / 446.1 MB, free: 10.18 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.0003878/0.1192, allocations: 375.3 kB / 446.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1193, allocations: 8.031 kB / 446.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.1193, allocations: 34.69 kB / 446.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.1193, allocations: 8.844 kB / 446.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1195, allocations: 188.2 kB / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1195, allocations: 384 / 446.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1195, allocations: 4.375 kB / 446.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1197, allocations: 75.33 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.1197, allocations: 0 / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1197, allocations: 0 / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1197, allocations: 3.984 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/0.1198, allocations: 31.92 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.1201, allocations: 272.9 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1203, allocations: 46.56 kB / 447.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.1203, allocations: 16.95 kB / 447.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1203, allocations: 3.984 kB / 447.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1204, allocations: 34.5 kB / 447.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1204, allocations: 7.938 kB / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004729/0.1209, allocations: 153.3 kB / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1209, allocations: 85.05 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.121, allocations: 133.8 kB / 447.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1211, allocations: 29.7 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.1211, allocations: 84.14 kB / 447.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1211, allocations: 19.8 kB / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.1212, allocations: 9.719 kB / 447.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1213, allocations: 322.8 kB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.1213, allocations: 23.98 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1214, allocations: 33.7 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1216, allocations: 52.83 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1216, allocations: 4.031 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.1218, allocations: 85.52 kB / 448.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1218, allocations: 11.94 kB / 448.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1218, allocations: 3.984 kB / 448.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1218, allocations: 0 / 448.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.1219, allocations: 20 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.1219, allocations: 0 / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1219, allocations: 7.984 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1219, allocations: 7.938 kB / 448.3 MB, free: 7.773 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 7.311e-05/0.122, allocations: 109.8 kB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1221, allocations: 7.906 kB / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1223, allocations: 105.8 kB / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1223, allocations: 0 / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1223, allocations: 0 / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1223, allocations: 0 / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.1227, allocations: 358.5 kB / 448.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1227, allocations: 0 / 448.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.1228, allocations: 15.98 kB / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1228, allocations: 0 / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.1228, allocations: 0 / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1228, allocations: 3.938 kB / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1228, allocations: 0 / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.123, allocations: 187.4 kB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1231, allocations: 85 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1231, allocations: 8 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1232, allocations: 7.938 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1232, allocations: 7.984 kB / 449.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1232, allocations: 4 kB / 449.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.1233, allocations: 103.3 kB / 449.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1233, allocations: 0 / 449.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1236, allocations: 27.92 kB / 449.3 MB, free: 6.656 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.001359/0.1249, allocations: 1.055 MB / 450.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1251, allocations: 55.97 kB / 450.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1251, allocations: 0 / 450.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.1252, allocations: 31.92 kB / 450.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1255, allocations: 23.91 kB / 450.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.127, allocations: 1.415 MB / 451.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1273, allocations: 0.6887 MB / 452.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.1274, allocations: 8 kB / 452.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.1275, allocations: 23.42 kB / 452.6 MB, free: 3.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1275, allocations: 0 / 452.6 MB, free: 3.262 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.143, allocations: 2.309 MB / 454.9 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.1433, allocations: 233.2 kB / 455.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.89, allocations: 0 / 455.1 MB, free: 0.6914 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches