Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.0007494/0.0007492, allocations: 89.8 kB / 17.35 MB, free: 6.375 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.0008507/0.0008506, allocations: 178.3 kB / 18.26 MB, free: 5.52 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.294/1.294, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1906/0.1906, allocations: 44.24 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 12 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002105/0.1145, allocations: 1.297 MB / 473.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.1152, allocations: 407.3 kB / 474.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.1153, allocations: 0 / 474.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1155, allocations: 87.75 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1157, allocations: 63.86 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.116, allocations: 102.8 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1161, allocations: 67.89 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1162, allocations: 20.16 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.1163, allocations: 39.78 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.1164, allocations: 43.89 kB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1164, allocations: 0 / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.1165, allocations: 43.98 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1166, allocations: 19.92 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1166, allocations: 57.38 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1168, allocations: 103.9 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1168, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1168, allocations: 0 / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1168, allocations: 0 / 474.7 MB, free: 10.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.0004838/0.1173, allocations: 403.1 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1174, allocations: 12.03 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.1174, allocations: 34.69 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.1175, allocations: 12.75 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1177, allocations: 196.8 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1177, allocations: 8.359 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1177, allocations: 8.125 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1178, allocations: 53.67 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1179, allocations: 4 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1179, allocations: 7.938 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1179, allocations: 0 / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.118, allocations: 27.98 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1184, allocations: 312.6 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1185, allocations: 54.5 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1186, allocations: 20.94 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1186, allocations: 0 / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1186, allocations: 34.56 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1186, allocations: 0 / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008732/0.1195, allocations: 261.1 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1195, allocations: 55.34 kB / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1198, allocations: 231.9 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1198, allocations: 29.7 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.1198, allocations: 112.1 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1199, allocations: 23.66 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1199, allocations: 13.72 kB / 476.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.12, allocations: 322.8 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.1201, allocations: 35.97 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1202, allocations: 36.05 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1204, allocations: 92.81 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1204, allocations: 0 / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002163/0.1206, allocations: 121.5 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1206, allocations: 4 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1206, allocations: 0 / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1207, allocations: 4 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.1208, allocations: 15.98 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1208, allocations: 7.938 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.1208, allocations: 4 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1208, allocations: 7.984 kB / 477.2 MB, free: 8.172 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 9.438e-05/0.1209, allocations: 133.8 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.121, allocations: 7.906 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.1213, allocations: 142.9 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1213, allocations: 0 / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/0.1213, allocations: 3.938 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1213, allocations: 7.938 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.1218, allocations: 427.2 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1218, allocations: 8.359 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.1219, allocations: 27.95 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1219, allocations: 0 / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1219, allocations: 8 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1219, allocations: 0 / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1219, allocations: 0 / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1222, allocations: 220.6 kB / 478.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.1223, allocations: 100.9 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1223, allocations: 0 / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.1224, allocations: 8 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1224, allocations: 11.98 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1224, allocations: 0 / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1225, allocations: 175.4 kB / 478.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1226, allocations: 0 / 478.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1228, allocations: 27.98 kB / 478.5 MB, free: 6.781 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.001393/0.1242, allocations: 1.098 MB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1244, allocations: 83.89 kB / 479.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1244, allocations: 0 / 479.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.1245, allocations: 47.91 kB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1249, allocations: 19.98 kB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1266, allocations: 1.751 MB / 481.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1269, allocations: 0.7121 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.127, allocations: 24.95 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.127, allocations: 35.42 kB / 482.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.127, allocations: 0 / 482.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.1391, allocations: 2.726 MB / 485 MB, free: 456 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.1393, allocations: 237.3 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.815, allocations: 4 kB / 485.2 MB, free: 192 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches