Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.001651/0.001651, allocations: 108 kB / 16.41 MB, free: 6.48 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.001875/0.001875, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2292/0.2292, allocations: 43.53 MB / 314.1 MB, free: 460 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.00175/0.00175, allocations: 69.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1233, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003418/0.1267, allocations: 1.616 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006469/0.1274, allocations: 323.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1276, allocations: 4 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.1282, allocations: 443.2 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1286, allocations: 259.4 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.129, allocations: 115.7 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1292, allocations: 155.7 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1294, allocations: 16.17 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1295, allocations: 103.8 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.1298, allocations: 219.5 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1299, allocations: 4 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.13, allocations: 27.98 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1301, allocations: 75.7 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.1302, allocations: 111 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.1305, allocations: 251 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1306, allocations: 0 / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1306, allocations: 4 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1306, allocations: 4 kB / 0.491 GB, free: 8.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007584/0.1313, allocations: 0.6374 MB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1314, allocations: 11.89 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1314, allocations: 30.75 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.1315, allocations: 48.36 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1319, allocations: 296.1 kB / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1319, allocations: 8.375 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1319, allocations: 8.062 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1322, allocations: 49.69 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1322, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.1322, allocations: 8 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1322, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.1323, allocations: 23.92 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1328, allocations: 384.7 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1331, allocations: 42.56 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.1331, allocations: 20.94 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1332, allocations: 3.938 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1332, allocations: 30.56 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.1332, allocations: 0 / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006118/0.1338, allocations: 231.9 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1339, allocations: 51.41 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/0.1348, allocations: 0.8652 MB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1348, allocations: 25.7 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1349, allocations: 228.1 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.135, allocations: 11.81 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.135, allocations: 21.7 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1352, allocations: 358.8 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.1352, allocations: 27.98 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.1353, allocations: 11.98 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1354, allocations: 52.77 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1354, allocations: 0 / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.1356, allocations: 117 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1357, allocations: 4 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1357, allocations: 4.25 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1357, allocations: 288 / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.1358, allocations: 19.98 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1358, allocations: 3.938 kB / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.1359, allocations: 8 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1359, allocations: 3.984 kB / 0.4945 GB, free: 4.73 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 0.0001681/0.1361, allocations: 209.7 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1361, allocations: 47.42 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1364, allocations: 145 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1364, allocations: 3.938 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1364, allocations: 7.938 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1364, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.137, allocations: 450.5 kB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.137, allocations: 0 / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.1371, allocations: 15.98 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1371, allocations: 3.938 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1371, allocations: 3.938 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1371, allocations: 4 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1371, allocations: 0 / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1373, allocations: 203.1 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1374, allocations: 116.5 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1374, allocations: 7.938 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.1375, allocations: 8.172 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1376, allocations: 8 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.1376, allocations: 4 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005953/0.1382, allocations: 0.6511 MB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 0 / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1385, allocations: 24 kB / 0.4964 GB, free: 2.738 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.001405/0.1399, allocations: 1.049 MB / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1401, allocations: 43.97 kB / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1401, allocations: 0 / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.1402, allocations: 32.05 kB / 0.4975 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1406, allocations: 26.08 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.1442, allocations: 3.195 MB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1446, allocations: 0.8143 MB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.1447, allocations: 15.98 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1448, allocations: 103.4 kB / 0.5015 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1448, allocations: 0 / 0.5015 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.171, allocations: 6.016 MB / 0.5074 GB, free: 7.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.323, allocations: 11.97 kB / 0.5074 GB, free: 7.316 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches