Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009018/0.0009017, allocations: 174.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007172/0.0007172, allocations: 94.33 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2996/0.2996, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 432.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 58.86 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00211/0.1076, allocations: 1.609 MB / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.109, allocations: 1.004 MB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.109, allocations: 3.938 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1092, allocations: 43.75 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1096, allocations: 131.5 kB / 493.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1109, allocations: 0.5109 MB / 494.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1112, allocations: 235.2 kB / 494.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1114, allocations: 76.52 kB / 494.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1116, allocations: 99.53 kB / 494.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1118, allocations: 151.5 kB / 494.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.1119, allocations: 8 kB / 494.8 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.112, allocations: 35.94 kB / 494.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1121, allocations: 131.6 kB / 494.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1123, allocations: 168.5 kB / 495.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1126, allocations: 271.5 kB / 495.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1126, allocations: 4 kB / 495.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1126, allocations: 0 / 495.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1126, allocations: 3.938 kB / 495.4 MB, free: 6.324 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009547/0.1136, allocations: 0.6961 MB / 496.1 MB, free: 5.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1136, allocations: 16.03 kB / 496.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.1137, allocations: 46.73 kB / 496.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.1138, allocations: 56.19 kB / 496.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.1143, allocations: 455.8 kB / 496.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1144, allocations: 8.375 kB / 496.6 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1144, allocations: 19.94 kB / 496.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1147, allocations: 147.3 kB / 496.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1148, allocations: 3.906 kB / 496.8 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1148, allocations: 11.94 kB / 496.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1148, allocations: 0 / 496.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.1151, allocations: 103.8 kB / 496.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1161, allocations: 0.7034 MB / 497.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1163, allocations: 121.2 kB / 497.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1165, allocations: 45.83 kB / 497.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.1165, allocations: 11.92 kB / 497.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1165, allocations: 34.56 kB / 497.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1166, allocations: 0 / 497.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001624/0.1182, allocations: 0.58 MB / 498.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1182, allocations: 77.11 kB / 498.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1193, allocations: 0.8897 MB / 499.4 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1194, allocations: 25.7 kB / 499.4 MB, free: 2.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1196, allocations: 256.2 kB / 499.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1196, allocations: 55.2 kB / 499.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.1197, allocations: 4 kB / 499.7 MB, free: 1.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1198, allocations: 370.7 kB / 0.4884 GB, free: 1.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.12, allocations: 79.89 kB / 0.4884 GB, free: 1.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1203, allocations: 89.47 kB / 0.4885 GB, free: 1.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.1207, allocations: 173.6 kB / 0.4887 GB, free: 1.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1207, allocations: 224 / 0.4887 GB, free: 1.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000555/0.1213, allocations: 261 kB / 0.4889 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1213, allocations: 7.938 kB / 0.4889 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1213, allocations: 0 / 0.4889 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1213, allocations: 0 / 0.4889 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1216, allocations: 43.97 kB / 0.489 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1216, allocations: 4 kB / 0.489 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1218, allocations: 19.98 kB / 0.489 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1218, allocations: 4 kB / 0.489 GB, free: 0.6797 MB / 378.7 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.122, allocations: 217.6 kB / 0.4892 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1221, allocations: 55.25 kB / 0.4893 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.1229, allocations: 314.9 kB / 0.4896 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1229, allocations: 0 / 0.4896 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1229, allocations: 4 kB / 0.4896 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1229, allocations: 0 / 0.4896 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1624/0.2853, allocations: 0.8132 MB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2853, allocations: 1.969 kB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.2855, allocations: 43.08 kB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2855, allocations: 2.125 kB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2855, allocations: 7.234 kB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2855, allocations: 3.578 kB / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2855, allocations: 0 / 0.4904 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.286, allocations: 437.3 kB / 0.4908 GB, free: 42.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2861, allocations: 155.6 kB / 0.491 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.2862, allocations: 7.25 kB / 0.491 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2864, allocations: 15.7 kB / 0.491 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.2864, allocations: 18 kB / 0.491 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.2865, allocations: 5.281 kB / 0.491 GB, free: 42.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006438/0.2871, allocations: 0.6477 MB / 0.4917 GB, free: 42.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2871, allocations: 0 / 0.4917 GB, free: 42.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.2875, allocations: 56.69 kB / 0.4917 GB, free: 42.34 MB / 378.7 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/0.2887, allocations: 1.269 MB / 0.493 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.2891, allocations: 174.9 kB / 0.4931 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2891, allocations: 0 / 0.4931 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.2893, allocations: 93.86 kB / 0.4932 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.2899, allocations: 66.36 kB / 0.4933 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.294, allocations: 3.275 MB / 0.4965 GB, free: 40.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2943, allocations: 0.8648 MB / 0.4973 GB, free: 39.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.2945, allocations: 166.8 kB / 0.4975 GB, free: 39.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2945, allocations: 5.156 kB / 0.4975 GB, free: 39.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.094, allocations: 7.434 MB / 0.5047 GB, free: 39.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches