Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.008111/0.008111, allocations: 101.1 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.001253/0.001253, allocations: 189.7 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.393/1.393, allocations: 205.1 MB / 222.6 MB, free: 4.828 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.3275/0.3275, allocations: 43.5 MB / 313.5 MB, free: 8.488 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.00143/0.00143, allocations: 68.28 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1145, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002885/0.1174, allocations: 1.622 MB / 441.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1188, allocations: 0.9143 MB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1188, allocations: 0 / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1191, allocations: 19.91 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1192, allocations: 39.84 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1195, allocations: 75.91 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1196, allocations: 55.78 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1197, allocations: 24.23 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.1198, allocations: 11.94 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1199, allocations: 27.84 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.12, allocations: 4 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.1201, allocations: 55.91 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1201, allocations: 4 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.1202, allocations: 27.84 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1204, allocations: 87.72 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1204, allocations: 0 / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1204, allocations: 0 / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1204, allocations: 0 / 442.9 MB, free: 11.77 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.0004839/0.1209, allocations: 379.2 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1209, allocations: 12.03 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.121, allocations: 38.73 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.121, allocations: 4.938 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1212, allocations: 204 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1212, allocations: 384 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1213, allocations: 384 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1214, allocations: 71.33 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1214, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1215, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1215, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.1216, allocations: 23.98 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1219, allocations: 284.8 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1221, allocations: 42.55 kB / 443.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.1222, allocations: 20.94 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1222, allocations: 0 / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1222, allocations: 38.56 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1222, allocations: 0 / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000538/0.1228, allocations: 145.4 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1228, allocations: 81.11 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.123, allocations: 133.8 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.123, allocations: 29.7 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.123, allocations: 99.98 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1231, allocations: 11.81 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1231, allocations: 21.7 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.1232, allocations: 322.7 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.1233, allocations: 19.98 kB / 444.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.1234, allocations: 41.69 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1235, allocations: 48.83 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1235, allocations: 0 / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001991/0.1237, allocations: 89.56 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1237, allocations: 4 kB / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1238, allocations: 0 / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1238, allocations: 0 / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.1238, allocations: 15.94 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1238, allocations: 4.031 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.1239, allocations: 7.984 kB / 445 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1239, allocations: 3.938 kB / 445 MB, free: 9.359 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.385e-05/0.124, allocations: 113.8 kB / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.124, allocations: 4 kB / 445.1 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.1243, allocations: 97.52 kB / 445.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1243, allocations: 4 kB / 445.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1243, allocations: 7.938 kB / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1243, allocations: 0 / 445.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.1247, allocations: 354.8 kB / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1247, allocations: 4 kB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1248, allocations: 11.98 kB / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1248, allocations: 0 / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1248, allocations: 0 / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1248, allocations: 7.938 kB / 445.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1248, allocations: 4 kB / 445.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.125, allocations: 183.4 kB / 445.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.1251, allocations: 81.11 kB / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1251, allocations: 0 / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.1252, allocations: 7.938 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1252, allocations: 7.984 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1252, allocations: 8 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.1253, allocations: 99.27 kB / 446 MB, free: 8.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 3.938 kB / 446 MB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1255, allocations: 23.98 kB / 446 MB, free: 8.25 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.0014/0.1269, allocations: 1.059 MB / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1272, allocations: 51.97 kB / 447.1 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1272, allocations: 0 / 447.1 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.1273, allocations: 27.98 kB / 447.2 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1276, allocations: 23.67 kB / 447.2 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.129, allocations: 1.418 MB / 448.6 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1293, allocations: 0.6926 MB / 449.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.1294, allocations: 16.36 kB / 449.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.1294, allocations: 23.42 kB / 449.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1294, allocations: 7.938 kB / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.1562, allocations: 2.528 MB / 451.9 MB, free: 2.293 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.1564, allocations: 228.6 kB / 452.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.899, allocations: 0 / 452.1 MB, free: 2.043 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches