Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29",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.001629/0.001629, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.002259/0.002259, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2735/0.2735, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.001606/0.001606, allocations: 77.59 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.003085/0.1182, allocations: 1.581 MB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.1189, allocations: 327.6 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.119, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1193, allocations: 35.83 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1196, allocations: 43.77 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1199, allocations: 95.75 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1201, allocations: 83.75 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.1202, allocations: 20.11 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.1202, allocations: 23.92 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.1203, allocations: 31.83 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1203, allocations: 4 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.1204, allocations: 32 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1205, allocations: 23.92 kB / 0.4896 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1205, allocations: 27.8 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1207, allocations: 87.7 kB / 0.4897 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1207, allocations: 3.938 kB / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1207, allocations: 0 / 0.4897 GB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1207, allocations: 0 / 0.4897 GB, free: 9.848 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005202/0.1212, allocations: 391.1 kB / 0.4901 GB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1213, allocations: 11.89 kB / 0.4901 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1213, allocations: 34.75 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1214, allocations: 12.84 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1215, allocations: 192.2 kB / 0.4904 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1216, allocations: 4.375 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1216, allocations: 8.062 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1217, allocations: 75.39 kB / 0.4904 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1218, allocations: 0 / 0.4904 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1218, allocations: 0 / 0.4904 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1218, allocations: 4 kB / 0.4904 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1219, allocations: 43.91 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.1224, allocations: 389 kB / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.1227, allocations: 85.06 kB / 0.4909 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.1227, allocations: 33.89 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1228, allocations: 7.984 kB / 0.491 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1228, allocations: 30.56 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.346e-06/0.1228, allocations: 3.984 kB / 0.491 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007424/0.1236, allocations: 228.9 kB / 0.4912 GB, free: 8.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1236, allocations: 81.05 kB / 0.4913 GB, free: 8.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1237, allocations: 156.5 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1238, allocations: 25.7 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1238, allocations: 100 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1239, allocations: 35.48 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1239, allocations: 25.72 kB / 0.4916 GB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.124, allocations: 326.8 kB / 0.4919 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.1241, allocations: 31.92 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.1242, allocations: 49.69 kB / 0.492 GB, free: 7.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1244, allocations: 81.67 kB / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1244, allocations: 128 / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002401/0.1246, allocations: 133.5 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1247, allocations: 4 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1247, allocations: 4 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1247, allocations: 0 / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.1248, allocations: 23.92 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1248, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1249, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1249, allocations: 4 kB / 0.4923 GB, free: 6.992 MB / 382.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 9.313e-05/0.125, allocations: 141.6 kB / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.125, allocations: 7.906 kB / 0.4924 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.1253, allocations: 137.9 kB / 0.4925 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1253, allocations: 3.938 kB / 0.4925 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1254, allocations: 0 / 0.4925 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1254, allocations: 4 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.126, allocations: 0.4949 MB / 0.493 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.126, allocations: 4 kB / 0.493 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.1261, allocations: 27.92 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1261, allocations: 0 / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1261, allocations: 4 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1261, allocations: 3.984 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1261, allocations: 0 / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1264, allocations: 299.5 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1265, allocations: 85.02 kB / 0.4934 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1265, allocations: 3.984 kB / 0.4934 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1266, allocations: 8 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1267, allocations: 8.266 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1267, allocations: 8 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.693e-05/0.1268, allocations: 126.1 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1268, allocations: 3.938 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1271, allocations: 19.94 kB / 0.4936 GB, free: 5.504 MB / 382.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.001537/0.1287, allocations: 1.13 MB / 0.4947 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.129, allocations: 87.83 kB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.129, allocations: 0 / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1291, allocations: 43.97 kB / 0.4948 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1296, allocations: 24.05 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1316, allocations: 1.693 MB / 0.4965 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1319, allocations: 0.704 MB / 0.4972 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.866e-05/0.132, allocations: 24.39 kB / 0.4972 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.1321, allocations: 31.44 kB / 0.4973 GB, free: 1.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1321, allocations: 0 / 0.4973 GB, free: 1.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.1505, allocations: 2.83 MB / 0.5 GB, free: 14.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/7.983, allocations: 3.984 kB / 0.5 GB, free: 14.81 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches