Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.001379/0.001379, allocations: 109.2 kB / 16.27 MB, free: 6.41 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.001529/0.001529, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.525/1.525, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.256/0.256, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001601/0.001601, allocations: 75.94 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003187/0.1093, allocations: 1.562 MB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006318/0.11, allocations: 331.5 kB / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.1101, allocations: 0 / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.1105, allocations: 103.7 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1107, allocations: 71.78 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.111, allocations: 87.75 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1112, allocations: 75.88 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1113, allocations: 20.19 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.1114, allocations: 39.83 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1115, allocations: 59.81 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1116, allocations: 4 kB / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1117, allocations: 31.98 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1117, allocations: 23.86 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1118, allocations: 35.75 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.112, allocations: 111.6 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.112, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.112, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.112, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000478/0.1125, allocations: 418.8 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1125, allocations: 11.89 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1126, allocations: 34.75 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1126, allocations: 8.844 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1128, allocations: 204 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1128, allocations: 12.38 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1128, allocations: 8.031 kB / 443.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.113, allocations: 79.33 kB / 443.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.113, allocations: 0 / 443.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1131, allocations: 0 / 443.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1131, allocations: 4 kB / 443.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1132, allocations: 39.91 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1136, allocations: 393 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1139, allocations: 85.16 kB / 444.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.114, allocations: 41.8 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.114, allocations: 0 / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.114, allocations: 34.56 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.114, allocations: 0 / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007249/0.1148, allocations: 248.6 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1148, allocations: 92.98 kB / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.115, allocations: 227.6 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.115, allocations: 25.7 kB / 445.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1151, allocations: 108.1 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1151, allocations: 35.48 kB / 445.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1151, allocations: 25.72 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.1152, allocations: 322.8 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.1153, allocations: 35.97 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.1154, allocations: 45.69 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1156, allocations: 89.67 kB / 445.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1156, allocations: 0 / 445.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.1158, allocations: 121.4 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1158, allocations: 8 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1158, allocations: 4 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1158, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.1159, allocations: 19.98 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1159, allocations: 7.875 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.116, allocations: 7.984 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.116, allocations: 8.25 kB / 445.9 MB, free: 1.211 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 8.041e-05/0.1161, allocations: 137.7 kB / 446 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.1162, allocations: 19.81 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1164, allocations: 142.6 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1165, allocations: 4 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1165, allocations: 3.938 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1165, allocations: 192 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.117, allocations: 0.4986 MB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.117, allocations: 11.88 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.1171, allocations: 23.92 kB / 446.7 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1171, allocations: 0 / 446.7 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1171, allocations: 4 kB / 446.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1171, allocations: 0 / 446.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1171, allocations: 0 / 446.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1174, allocations: 307.4 kB / 447 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1175, allocations: 88.95 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1175, allocations: 0 / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1176, allocations: 7.984 kB / 447.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1177, allocations: 11.94 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1177, allocations: 12.17 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1178, allocations: 167.2 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1179, allocations: 4 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1182, allocations: 19.91 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001531/0.1197, allocations: 1.142 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.12, allocations: 83.88 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.12, allocations: 4 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1201, allocations: 43.92 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1206, allocations: 22.08 kB / 448.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1231, allocations: 1.863 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1235, allocations: 0.712 MB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.467e-05/0.1237, allocations: 28.39 kB / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.1237, allocations: 39.42 kB / 451.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1237, allocations: 0 / 451.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.1457, allocations: 3.079 MB / 454.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.124, allocations: 8.328 kB / 454.4 MB, free: 8.566 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches